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

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

问题描述

我决定使我的应用程序java网络启动,我准备了.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天全站免登陆