ons, 10 02 2010 kl. 08:13 +0000, skrev Thierry Carrez: > I think there is a bit of misunderstanding here.
Okay, I see (definitely not the behaviour I would have expected, though). Is it also on purpose that 'sudo update-java-alternatives -s java-6-sun' does _not_ create the link '/usr/lib/jvm/default-java' unless 'default-jdk' happens to be installed? Søren -- 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 OpenJDK, which is subscribed to openjdk-6 in ubuntu. Status in “openjdk-6” package in Ubuntu: Invalid Status in “sun-java6” package in Ubuntu: Invalid Bug description: I did not file this bug against a package as it seems to be more like an infra-structure problem. If I install the Sun Java Developer Kit ('sun-java6-jdk') it gets installed in '/usr/lib/jvm/java-6-sun'. Most 3rd party applications look for this in '/usr/lib/jvm/default-java'. The standard solution is to create a symbolic link from '/usr/lib/jvm/java-6-sun' to '/usr/lib/jvm/default-java'. This is, however, not done automatically unless I install the 'default-jdk' package which installs the 'openjdk-6-jdk' package. So, if I only want the Sun JDK I have to manually create the symlink. This link does not seem to be create by 'sudo update-java-alternatives -s java-6-sun' unless I install the 'default-jdk' package. Okay, this description was a bit convoluted, but the problem itself seems to be rather convoluted. I would have expected the following behavior: * When I install _any_ JDK the corresponding '/usr/lib/jvm/default-java' if it does not already exist. * When I run 'sudo update-java-alternatives -s java-6-sun' I would expect '/usr/lib/jvm/default-java' to be created even if I don't have the 'default-jdk' package installed. _______________________________________________ Mailing list: https://launchpad.net/~openjdk Post to : [email protected] Unsubscribe : https://launchpad.net/~openjdk More help : https://help.launchpad.net/ListHelp

