RESOLVIDO: Aparentemente, o java Java Sun funciona. No Firefox:
Editar > Preferências > Aplicativos > "Aplicativo Java Web Start" > outro:
/ usr / lib / jvm / java-6-sun / jre / bin / javaws
Estou usando o Ubuntu há algum tempo e os aplicativos Java Web Start nunca "funcionaram" na versão atual ou em qualquer versão anterior, então os ignorei até agora. No entanto, agora tenho a necessidade de fazê-los funcionar no Firefox. Quando estou em uma página como esta: link Quero ser capaz de clicar nas demos conforme sugerido e executá-las.
Estou executando o Ubuntu 11.10 com o Gnome 3 e / ou o Linux Mint 12 (64 bits) com o OpenJDK 6, OpenJDK 7 e Sun Java 6. Meu padrão é atualmente: / usr / lib / jvm / java-6-openjdk / jre / bin / java
$ where javaws
javaws: / usr / bin / javaws
/ etc / alternatives / javaws - > / usr / lib / jvm / java-6-openjdk / jre / bin / javaws
Aqui está o erro que recebo quando tento executar um aplicativo Java Web Start:
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:776)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:887)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: A fatal error occurred while trying to verify jars.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:448)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:176)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:295)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:767)
... 2 more
Caused by:
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: A fatal error occurred while trying to verify jars.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:448)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:176)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:295)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:767)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:887)
Aqui está outro exemplo:
net.sourceforge.jnlp.LaunchException: Fatal: Read Error: Could not read or parse the JNLP file.
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:491)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:199)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:165)
Caused by: java.io.IOException: port out of range:-2147483648
at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:255)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:185)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
... 5 more
Caused by:
java.io.IOException: port out of range:-2147483648
at net.sourceforge.jnlp.JNLPFile.openURL(JNLPFile.java:255)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:185)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:162)
at net.sourceforge.jnlp.JNLPFile.<init>(JNLPFile.java:148)
at net.sourceforge.jnlp.Launcher.fromUrl(Launcher.java:477)
at net.sourceforge.jnlp.Launcher.launch(Launcher.java:283)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:199)
at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:51)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:165)
RESOLVIDO: Aparentemente, o java Java Sun funciona. No Firefox:
Editar > Preferências > Aplicativos > "Aplicativo Java Web Start" > outro:
/ usr / lib / jvm / java-6-sun / jre / bin / javaws