Select JVM for NetBeans
ubuntu-users at list-post.mks-mail.de
Thu Jan 15 15:41:18 UTC 2009
> On Thu, 15 Jan 2009 09:39:00 +0100, Markus Schönhaber wrote:
>>> 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
> 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?
$ LANG=C aptitude show default-jre-headless
State: not installed
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Uncompressed Size: 53.2k
Depends: openjdk-6-jre-headless (>= 6b11), java-common
Provides: java-runtime-headless, java2-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