1

I had some issues with an .jnlp file using OpenJDK so I installed Oracle Java. It didn't work either, so I uninstalled it (the config folder is still there though).

Now, if I want to open something with IcedTea, it tries to use Oracle Java, although no longer installed (if I interpret the terminal output correctly).

$ javaws FILENAME.jnlp

selected jre: /usr/lib/jvm/java-11-oracle

thread 'main' panicked at 'Error spawning JVM process, java executable: [/usr/lib/jvm/java-11-oracle], arguments: [["-splash:/usr/share/icedtea-web/javaws_splash.png", "-Xbootclasspath/a:/usr/share/icedtea-web/javaws.jar:/usr/share/java/js.jar:/usr/share/java/tagsoup.jar:/usr/lib/jvm/java-11-oracle/lib/ext/nashorn.jar:", "-classpath", "/usr/lib/jvm/java-11-oracle/lib/rt.jar:/usr/lib/jvm/java-11-oracle/lib/ext/jfxrt.jar:", "-Dicedtea-web.bin.name=javaws", "-Dicedtea-web.bin.location=/usr/lib/icedtea-web/bin/javaws", "net.sourceforge.jnlp.runtime.Boot", "FILENAME.jnlp"]]', src/os_access.rs:36:19
note: Run with `RUST_BACKTRACE=1` for a backtrace.

I tried reinstalling OpenJDK and IcedTea.

$ java - version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.10.3)
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.10.3, mixed mode, sharing)

I read along this threat and tried update-alternatives --config java; but it says there is only one java version and nothing to choose.

I assume I have to change something in the config files of IcedTea?

[edit] I also cannot access $itweb-settings, it comes up with the same error as in the first box. I'm about to install oracle java, then hopefully change iced tea's configuration and then uninstall it again.

    $ sudo update-alternatives --get-selections | grep ^java

java                           auto     /usr/lib/jvm/java-11-openjdk-amd64/bin/java
javaws                         manual   /usr/lib/icedtea-web/bin/javaws
x n
  • 11
  • 1
  • 4
  • Have you tried to update alternatives for javaws? Also, AFAIK [javaws has been deprecated since JDk11](https://askubuntu.com/a/1137784/816190). – Kulfy May 05 '19 at 03:02
  • You are right, there were some "leftovers" from Oracle java (javap, javac javadoc). I updated these and now those entrances are gone, but of course the iced tea entrance was correct all along. – x n May 05 '19 at 14:11
  • I'm not sure what you mean by above comment. – Kulfy May 08 '19 at 18:34

0 Answers0