Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 121365

Summary: jython script doesn't correctly pull in CLASSPATH
Product: Gentoo Linux Reporter: Andy Wang <dopey>
Component: [OLD] DevelopmentAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andy Wang 2006-02-02 14:47:54 UTC
The current jython script is:
#!/bin/sh
###############################################################################
#
# This file generated by Jython installer
# Created on XXX by root

exec $(java-config --java) -Djava.library.path="$(java-config -i libreadline-java)" -Dpython.home="/usr/share/jython" -classpath "$(java-config --classpath=jython,libreadline-java 2>/dev/null):CLASSPATH" "org.python.util.jython" "$@"

Note that the --classpath argument is incorrect.  CLASSPATH should be $CLASSPATH
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2006-02-05 02:57:32 UTC
Fixed thanks for reportings. I did not do a version bump because a normal user does not need to set anything in the global classpath to have a working jython. Just wait a few hours, sync and re-emerge jython. Thanks for reporting.