C
cyril
Hi,
I got an INCOMPREHENSIBLE problem.
I am really not a newby in Java coding, and here is my problem :
I set my class path with several jars.
My main class is in my a jar nammed first.jar
During the code execution I do a class.forName (with the name getted
from a properties of text). And I get the classical message that it
couldn't find my classe.
The problem is that my 2 jars are in the classpath.
And more surprising :
java -cp $CLASSPATH my.main.class.MainClass -> does the class not
found exception
java -cp $CLASSPATH my.class.not.found.SecondaryClass -> does the no
main method ... what is normal but that shows a problem in the
classpath and jar management.
I was thinking too to the properties file encoding but with no success
(But I just try to mofify it with kate).
So if you can help me... i become crazy.... this error doesn't happen
on all my systems....
Actually I use a RH ES3.0 with JDK 1.4.2_05....
Txs a lot for reading me
I got an INCOMPREHENSIBLE problem.
I am really not a newby in Java coding, and here is my problem :
I set my class path with several jars.
My main class is in my a jar nammed first.jar
During the code execution I do a class.forName (with the name getted
from a properties of text). And I get the classical message that it
couldn't find my classe.
The problem is that my 2 jars are in the classpath.
And more surprising :
java -cp $CLASSPATH my.main.class.MainClass -> does the class not
found exception
java -cp $CLASSPATH my.class.not.found.SecondaryClass -> does the no
main method ... what is normal but that shows a problem in the
classpath and jar management.
I was thinking too to the properties file encoding but with no success
(But I just try to mofify it with kate).
So if you can help me... i become crazy.... this error doesn't happen
on all my systems....
Actually I use a RH ES3.0 with JDK 1.4.2_05....
Txs a lot for reading me