Java web start - 版本问题 [英] Java web start - Version problems

查看:27
本文介绍了Java web start - 版本问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我决定让我的应用程序 java web start,我准备了 .jar 文件和 .jnlp.这是 .jnlp:

I've decided to make my app java web start, i prepared the .jar file and .jnlp. Here is .jnlp:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" 
    codebase="http://www.mypage.com/jar/" 
    href="BoxChat.jnlp">
    <information>
        <title>BoxChat</title>
        <vendor>Kitty</vendor>
    </information>
    <resources>
        <!-- Application Resources -->
        <j2se version="1.6+"
              href="http://www.mypage.com/jar/"/>
        <jar href="chat.jar" main="true" />

    </resources>
    <application-desc
         name="BoxChat"
         main-class="chat.class"
         width="320"
         height="240">
     </application-desc>
     <update check="background"/>
</jnlp>

它崩溃并说我没有安装 java 1.6,但我确定我有它.问题是什么?感谢您的回复.

It crashes and says that i have no java 1.6 installed, but im SURE that i have it. What is the problem? Thanks for any replies.

推荐答案

查看 Java Web 中的提示开始 - 运行时版本控制.请特别注意对 JNLP 运行时设置对话框的引用.

Look through the tips in Java Web Start - Runtime Versioning. Look particularly for references to the JNLP Runtime Settings dialog.

这篇关于Java web start - 版本问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆