Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108201 - java-config doesnt set users CLASSPATH correctly
Summary: java-config doesnt set users CLASSPATH correctly
Status: RESOLVED WONTFIX
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: 2005-10-05 11:05 UTC by Paul Price
Modified: 2006-09-05 08:05 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 Paul Price 2005-10-05 11:05:01 UTC
When I run the command java-config -a jdbc-mysql I get a file in
$HOME/.gentoo/java-env-classpath with the following in it:

CLASSPATH=${CLASSPATH}:/usr/share/jdbc-mysql/lib/jdbc-mysql.jar

This all seesm to be correct but isn't the java-env file suppose to use this
file to set the CLASSPATH when the user logs in. All the java-env file has is:

if [ -f $HOME/.gentoo/java ] ; then
        . $HOME/.gentoo/java
fi

I also looked in $HOME/.gentoo/java and it doesn't use the
$HOME/.gentoo/java-env-classpath file either. It seems like to me that setting
users CLASSPATHs is broke but it works for global settings.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-09-05 08:05:33 UTC
Setting classpath's using java-config-1.x is no longer supported. Please use java-config-2 instead, If there are issues using java-config-2, please open a new bug with the specifics.