The file dev-java/icedtea6-bin/files/icedtea6bin.env contains absolute paths like '/opt/@P@' that are not adjusted when the file is installed on the prefix system. The result is that 'java-config' tool is unusable to query this vm and other packages cannot be emerged (like dev-java/ant-core for example). Reproducible: Always Steps to Reproduce: 1. emerge dev-java/icedtea6-bin 2. java-config -c Actual Results: /opt/icedtea6-bin-1.9.4 !!! ERROR: The javac executable was not found in the Java path Expected Results: /home/user/gentoo_prefix/opt/icedtea6-bin-1.9.4 /home/user/gentoo_prefix/opt/icedtea6-bin-1.9.4/bin/javac
I looked at the env files in sun-jdk and saw no special prefix handling that I could transfer to icedtea6-bin, even though I thought sun-jdk already had some prefix support? Or is it only in some overlay?
Probably something like: http://overlays.gentoo.org/proj/alt/browser/trunk/prefix-overlay/dev-java/sun-jdk/files/sun-jdk-1.6.env The prefix team hasn't been able to prepare a patch for java ebuilds yet for the java team to review. This is why we didn't ask anything of you yet :) If you want to take on the effort of obsoleting the "prefix overlay" version(s) we will be eternally grateful!
... as long as Java 5 remains in there!!!
Prefix support is added to java-vm-2 eclass and oracle Java7 ebuilds. I'll be working on this as well.
cool, thanks
(In reply to comment #4) > Prefix support is added to java-vm-2 eclass and oracle Java7 ebuilds. I'll be > working on this as well. Thanks a lot in advance !
Fixed in CVS. You can do prefix modifications in ebuild. Thanks.