java webstart应用程序启动时间太慢了 [英] java webstart application startup time too slow

查看:292
本文介绍了java webstart应用程序启动时间太慢了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有许多依赖项jar(大约20个)的java webstart应用程序,它作为一个独立的应用程序在开发环境中快速启动。但是,当它部署在java webstart中时,启动时间很慢(大约1分钟)。有没有办法改善启动时间?

I have a java webstart application with many dependency jars(about 20), it starts up quickly in the development environment as a standalone app. However when it's deployed in java webstart, the start up time is slow(1 minute or so). Is there a way to improve the startup time?

推荐答案

如果从Windows XP或Windows启动Java Web Start应用程序,请尝试此操作7。

Try this if you are starting Java Web Start app from Windows XP or Windows 7.

转到java控制面板。在常规标签下,打开网络设置,然后选择直接连接,而不是使用浏览器设置。

Go to java control panel. Under "General" tab open "Network Settings" and choose "Direct connection" instead of "Use browser settings".

用户浏览器设置是新鲜java安装的默认设置。

"User browser settings" is the default on fresh java install.

当我使用java web start时(我没有查看原因),这使它的启动速度提高了5到10倍。使用Java 6和Java 7在几台Windows XP和Windows 7上进行了测试。

When I was using java web start (I didn't look into why), this made it launch 5 to 10 times faster. Tested on couple Windows XP and Windows 7 using both Java 6 and Java 7.

这篇关于java webstart应用程序启动时间太慢了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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