← Back to team overview

ubuntu-java team mailing list archive

[Bug 518948] Re: Default Java paths aren't set up by default

 

I think there is a bit of misunderstanding here.

"default-java" is not an alternative that can be served by any JDK/JVM
(like the "java" command). It points to the default implementation of
Java for your platform. In Ubuntu on amd64 and i386, the default Java
stack is OpenJDK. It's an indirection that, amongst other things, helps
migrating to a new default Java (OpenJDK-7 ?) when available.

So third-party applications that point to "default-java" do explicitly
ask to use OpenJDK and not Sun's JDK. They should be changed to allow
for a less strict dependency. Tomcat, for example, looks in its init
script for JVMs in a list of potential paths, and allows you to change
(in its /etc/defaults file) which one should be used.

Closing as Invalid for the JDKs, feel free to open tasks against the
"third-party apps".

** Changed in: sun-java6 (Ubuntu)
       Status: New => Invalid

** Changed in: openjdk-6 (Ubuntu)
       Status: New => Invalid

-- 
Default Java paths aren't set up by default
https://bugs.launchpad.net/bugs/518948
You received this bug notification because you are a member of Java
Packaging, which is a direct subscriber.



Follow ups