Hello java herd, I'd like to request something. Always when I update the sun-jdk I notice a minor and a tedious problem: $ ls -1d /opt/sun-jdk-1.4.2.0* /opt/sun-jdk-1.4.2.07 /opt/sun-jdk-1.4.2.08 /opt/sun-jdk-1.4.2.07/ |-- bin | |-- jar | |-- java | `-- javac `-- jre `-- bin `-- java_vm As you can see, the outdated path doesn't get pruned (no I didn't touch the files). More important is, that the path is changing, so I have to update it manually in browsers etc. Would you add a symlink that changes with `java-config --set-system-vm`, so the manual editing would come to an end, please!? The same could be done for the user-vm, I just don't know if it's needed somewhere.
With the new system we hope to put in place, JDK/JREs will still live in /opt/package-version . However, there will be symlinks in /usr/lib/jvm that would be static. Example: with blackdown-jdk-1.4.2.03 installed /usr/lib/jvm/blackdown-jdk-1.4 -> /opt/blackdown-jdk-1.4.2.03 Example: with blackdown-jdk-1.4.2.04 installed /usr/lib/jvm/blackdown-jdk-1.4 -> /opt/blackdown-jdk-1.4.2.04
I thought more about a symlink that points always to the current user/system vm, no matter which jdk (or jdk version) chosen. With the symlink you're proposing I'd have to adapt applications as soon as I switch the jdk or update from one major version to the next. Not having to do that for every minor update is of course better, but... :)
This is present in the new Java system. Marking fixed.