Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121365 - jython script doesn't correctly pull in CLASSPATH
Summary: jython script doesn't correctly pull in CLASSPATH
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-02 14:47 UTC by Andy Wang
Modified: 2006-02-05 02:57 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 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.