As of jython-2.1-r7 (currently in the unstable branch), jython uses a Gentoo java launcher supplied by dev-java/java-config-2. This launcher ignores the $CLASSPATH entries. I suspect this problem may be shared by all packages that use dev-java/java-config-2, though jython is the only thing I use with $CLASSPATH set. The old and stupid launcher supplied with jython and used in <jython-2.1-r6 works fine.
Created attachment 96434 [details, diff] patch for the launcher to prepend env's CLASSPATH to the package's classpath
(In reply to comment #1) > Created an attachment (id=96434) [edit] > patch for the launcher to prepend env's CLASSPATH to the package's classpath > I'm sorry, I am unable to find the file to which this patch corresponds. So far as I can tell, it is not part of java-config-2.0.27-r1, which is the latest in portage.
(In reply to comment #2) > I'm sorry, I am unable to find the file to which this patch corresponds. So > far as I can tell, it is not part of java-config-2.0.27-r1, which is the latest > in portage. > betelgeuse@pena ~ $ qfile /usr/bin/gjl dev-java/java-config (/usr/bin/gjl) [U] dev-java/java-config Available versions: (0) 1.2.11-r1 1.3.5 1.3.5-r1 (2) 2.0.27 2.0.27-r1 Installed: 1.3.1-r1 2.0.27-r1(2)
Released in java-config-2.0.28