我可以在程序中调用java web start吗?

时间:2021-08-21 20:48:30

I want to make use of the java web start advantage,but I dont want our customer face the java web start loading Screen,it seems ugly...and also customer maybe not install jre and the jre-install maybe fussy to them..so I want to package our application and jre into setup file using installanywhere. when user start our program,I want to invoking web start API to do the work like version compare,and offer outself loading screen .. so,Can I invoking web start in my program?and how? Best regards L.J.W

我想利用java web start优势,但我不希望我们的客户面对java web开始加载屏幕,它看起来很难看......而且客户可能也没有安装jre和jre-install可能对他们挑剔..所以我想使用installanywhere将我们的应用程序和jre打包到安装文件中。当用户启动我们的程序时,我想调用web start API来完成比较版本的工作,并提供自己的加载屏幕..那么,我可以在我的程序中调用web启动吗?以及如何?最好的问候L.J.W

3 个解决方案

#1


1  

I don't think web start is the way you want to go here. You can't change the loading screen, and if you want to access the user's computer in any way you'll have to bother the user with a confirmation, and risk them freaking out and canceling. Just roll your own auto-update; it's definitely not worth using web start just for that.

我不认为网络开始是你想去的方式。您无法更改加载屏幕,如果您想以任何方式访问用户的计算机,您将不得不通过确认来打扰用户,并冒着惊吓和取消的风险。只需滚动自己的自动更新;它绝对不值得使用web start。

#2


1  

For the loading screen question:

对于加载屏幕问题:

<jnlp ...>
    <information>
        <icon kind="splash" href="splash.gif" />
        ...
    </information>
    ...
</jnlp>

#3


-2  

If you're installing your application locally on the user's machine, why would you need to call JWS?

如果您在用户的计算机上本地安装应用程序,为什么需要调用JWS?

#1


1  

I don't think web start is the way you want to go here. You can't change the loading screen, and if you want to access the user's computer in any way you'll have to bother the user with a confirmation, and risk them freaking out and canceling. Just roll your own auto-update; it's definitely not worth using web start just for that.

我不认为网络开始是你想去的方式。您无法更改加载屏幕,如果您想以任何方式访问用户的计算机,您将不得不通过确认来打扰用户,并冒着惊吓和取消的风险。只需滚动自己的自动更新;它绝对不值得使用web start。

#2


1  

For the loading screen question:

对于加载屏幕问题:

<jnlp ...>
    <information>
        <icon kind="splash" href="splash.gif" />
        ...
    </information>
    ...
</jnlp>

#3


-2  

If you're installing your application locally on the user's machine, why would you need to call JWS?

如果您在用户的计算机上本地安装应用程序,为什么需要调用JWS?