Select JVM for NetBeans

Markus Schönhaber ubuntu-users at
Thu Jan 15 15:41:18 UTC 2009


> On Thu, 15 Jan 2009 09:39:00 +0100, Markus Schönhaber wrote:
>> Thufir:
>>> why does default-java link to the openjdk?  I can manually change that,
>>> but shouldn't update-alternatives have changed it?
>> I don't have a default-java symlink. Where does yours come from? dpkg -S
>> /usr/lib/jvm/default-java
> thufir at arrakis:~$ dpkg -S /usr/lib/jvm/default-java 
> default-jre-headless: /usr/lib/jvm/default-java
> thufir at arrakis:~$ 
> does that mean "unknown" or that installling the "default-jre-headless" 
> put that file there?

The latter.

$ LANG=C aptitude show default-jre-headless
Package: default-jre-headless
State: not installed
Version: 1.6-30ubuntu3
Priority: optional
Section: interpreters
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at>
Uncompressed Size: 53.2k
Depends: openjdk-6-jre-headless (>= 6b11), java-common
Suggests: default-jre
Provides: java-runtime-headless, java2-runtime-headless,
java5-runtime-headless, java6-runtime-headless
Description: Standard Java or Java compatible Runtime (headless)
 This package points to the Java runtime, or Java compatible runtime
recommended for this architecture, which is openjdk-6-jre-headless for

 The package is used as dependency for packages not needing a graphical
display during runtime.

So, judging from the description above, that update-alternatives doesn't
touch the symlink created by default-jre-headless seems to be exactly
the way it's intended to be.


More information about the ubuntu-users mailing list