java webstart application startup time too slow

被刻印的时光 ゝ 提交于 2019-12-08 05:20:40

问题


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?


回答1:


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

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

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

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.



来源:https://stackoverflow.com/questions/11149011/java-webstart-application-startup-time-too-slow

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!