If the /usr results in "alternatives" being used, I'm happy with that - it wasn't obvious, because of course that was never present in /etc/eclipse/java_home. I'll remove my manually added link to sun- java-6 and try it.
The second point about Debian packages not being permitted to rely on environment variables is not an issue - I don't believe policy _excludes_ them using environment variables, they just can't rely on them. My point there was that Eclipse will use JAVA_HOME as an override if that's what a user wants. Finally, somebody _did_ submit a patch (first response to this bug), and it works just fine to do what you want (and if the /usr bit works, what I want too), and you haven't used it. -- Eclipse uses /etc/eclipse/java_home instead of java-common scripts https://bugs.launchpad.net/bugs/45347 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs