Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97853 - java-config and pseudo-static system vm path
Summary: java-config and pseudo-static system vm path
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 127816
Blocks:
  Show dependency tree
 
Reported: 2005-07-03 15:20 UTC by Carsten Lohrke (RETIRED)
Modified: 2006-06-30 19:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Lohrke (RETIRED) gentoo-dev 2005-07-03 15:20:44 UTC
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.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-04-18 14:42:27 UTC
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
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-30 03:06:35 UTC
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... :)
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-06-30 19:46:50 UTC
This is present in the new Java system. Marking fixed.