OpenJDK-7 version of javaws

Asked by mibus

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

Language:
English Edit question
Status:
Answered
For:
Ubuntu icedtea-web Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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

Chris

Revision history for this message
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
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
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;
Robert.

Revision history for this message
Chris (fabricator4) said :
#3

Ah...

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?

Chris

Revision history for this message
Sam_ (and-sam) said :
#4

Assume it's rather due to icedtea-plugin which depends on openjdk-6-jre.
http://packages.ubuntu.com/precise/icedtea6-plugin

Revision history for this message
Sam_ (and-sam) said :
#5

icedtea-netx includes javaws but also depends on openjdk-6-jre.
http://packages.ubuntu.com/oneiric-updates/icedtea-netx

Maybe test directly from Oracle.
https://help.ubuntu.com/community/Java

Revision history for this message
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.

Revision history for this message
Sam_ (and-sam) said :
#7
Revision history for this message
Sam_ (and-sam) said :
#8

> still starts the openjdk6 JVM.

Yep, it's it dependency.

Revision history for this message
Sam_ (and-sam) said :
#9
Revision history for this message
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.