OpenJDK-7 version of javaws

Asked by mibus on 2011-12-31

Is there already, or is there likely to be soon, an Ubuntu-packaged OpenJDK-7 version of javaws?

I'm trying to test some apps that work with sun-java6 but not openjdk6, against openjdk-7; these apps rely on javaws.

Question information

English Edit question
Ubuntu icedtea-web Edit question
No assignee Edit question
Last query:
Last reply:
Chris (fabricator4) said : #1

It should be there, but I've only tested it on 11.10 and 12.04 A1
Definitely not available for 10.04 LTS

sudo apt-get install openjdk-7-jre


mibus (mibus) said : #2

I'm on 11.10 and can't find it in openjdk-7-jre or elsewhere.

Is this something I should report as a bug, then?

mibus@lambda:~$ cat /etc/lsb-release
mibus@lambda:~$ dpkg -L openjdk-7-jre|grep javaws
mibus@lambda:~$ dpkg -l openjdk-7-\*|grep ^ii
ii openjdk-7-jdk 7~b147-2.0-0ubuntu0.11.10.1 OpenJDK Development Kit (JDK)
ii openjdk-7-jre 7~b147-2.0-0ubuntu0.11.10.1 OpenJDK Java runtime, using Hotspot JIT
ii openjdk-7-jre-headless 7~b147-2.0-0ubuntu0.11.10.1 OpenJDK Java runtime, using Hotspot JIT (headless)
ii openjdk-7-jre-lib 7~b147-2.0-0ubuntu0.11.10.1 OpenJDK Java runtime (architecture independent libraries)

Many thanks;

Chris (fabricator4) said : #3


I think you need the icedtea plugin but when I look there's only icedtea6-plugin. It might revert you to openjdk-6-jre if you install it. Try it and see?


Sam_ (and-sam) said : #4

Assume it's rather due to icedtea-plugin which depends on openjdk-6-jre.

Sam_ (and-sam) said : #5

icedtea-netx includes javaws but also depends on openjdk-6-jre.

Maybe test directly from Oracle.

mibus (mibus) said : #6

Yes, there's an icedtea-netx version for OpenJDK6:

mibus@lambda:~$ apt-file find javaws
app-install-data: /usr/share/app-install/desktop/icedtea-netx:icedtea-netx-javaws.desktop
icedtea-netx: /etc/icedtea-web/javaws.policy
icedtea-netx: /usr/lib/jvm/java-6-openjdk/bin/javaws
icedtea-netx: /usr/lib/jvm/java-6-openjdk/jre/bin/javaws
icedtea-netx: /usr/lib/jvm/java-6-openjdk/jre/man/man1/javaws.1
icedtea-netx: /usr/lib/jvm/java-6-openjdk/man/man1/javaws.1.gz
icedtea-netx: /usr/share/applications/icedtea-netx-javaws.desktop

Trying to use it (while openjdk7 is selected for "/usr/bin/java" via alternatives) still starts the openjdk6 JVM.

Sam_ (and-sam) said : #7
Sam_ (and-sam) said : #8

> still starts the openjdk6 JVM.

Yep, it's it dependency.

wayward4now (wayward4now) said : #10

What package do I need in order to install javaws using a .deb package for version 7 of OpenJDK?? thanks, Ric

Can you help with this problem?

Provide an answer of your own, or ask mibus for more information if necessary.

To post a message you must log in.