Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13719 - java-config --set-user-classpath adds to many classes
Summary: java-config --set-user-classpath adds to many classes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-11 09:41 UTC by cmickel
Modified: 2003-02-04 19:42 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 cmickel 2003-01-11 09:41:47 UTC
I'm doing some development in java using the 'jdom' class package. I installed  
it using portage, and added it to my user classpath using java-config 
--set-user-classpath.  
The problem is that I am using sun java 1.4.1 and java-config added the jdom 
version for java 1.1 to the classpath first, and the 'real' jdom for newer 
versions of java later. It also added the sun.java.collections classes to the  
classpath, even though these are included in newer versions of the jdk in the  
java.util.*; classes. I fixed the problem (after a couple of hours of  
debugging code that I was 'positive' should work) by deleting the  
jdom-jdk11.jar file and collections.jar from the ~/.gentoo/java-env-classpath 
and now everything works ok. I'm not sure if this is a problem with the jdom 
package (I rebuit it manually using ant and it didn't build the uneeded jar 
files) or java-config. I guess either one could be changed to fix it.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2003-01-12 12:52:20 UTC
fixed