简体   繁体   English

从桌面图标启动时,JNLP不显示启动屏幕

[英]JNLP doesn't show splash screen when launching from a desktop icon

I have been able to create a JNLP file, which successfully sets up a splash screen & a desktop icon for a Java program launched through Web Start. 我已经能够创建一个JNLP文件,该文件成功为通过Web Start启动的Java程序设置了启动屏幕和桌面图标。 Here's the relevant chunk of the JNLP: 这是JNLP的相关部分:

Now, to launch the program, I find I can either click on the JNLP, in which case the splash screen shows, or on the desktop icon, in which case the default Java Web Start splash screen shows instead. 现在,要启动该程序,我可以单击JNLP(在这种情况下将显示启动屏幕),或在桌面图标上(在这种情况下,将显示默认的Java Web Start启动屏幕)。 This is on Windows XP & Windows Vista, and it's Java 1.5 and Java 1.6. 在Windows XP和Windows Vista上,它是Java 1.5和Java 1.6。

Is there a way to get my splash screen to show when launching from the JNLP file, instead of the Java one? 从JNLP文件而不是Java启动时,是否有办法让我的启动屏幕显示?

Thanks. 谢谢。

Updating to the most recent minor upgrade of Java 6 seems to have fixed this, at least on the Windows platforms. 至少在Windows平台上,更新到Java 6的最新次要升级似乎已解决了该问题。 So I am now on update 16. I was on 9 before I think, and this has been fixed somewhere along the line. 所以我现在在更新16上。我认为我之前是在9上,并且此问题已在此进行了修正。

First thing I should have tried? 我应该尝试的第一件事? Probably! 大概!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM