On Sunday 01 September 2002 16:31, Dan Kegel wrote:
> Jochen Georges wrote:
> >  if my CLASSPATH is set like this:
> >  export CLASSPATH=$CLASSPATH:/usr/lib/j2sdk1.3/lib/tools.jar
> >  i get a compiler error (see below)
> >  if it is not set, the compilation runs without error.
>
> Please tell us the *full* value of CLASSPATH.
> We don't know what's in CLASSPATH before that statement.
> Also, please tell use what 'which java' and 'java --version' say.
>
> Finally, please make sure you truly have only one JDK installed...
> - Dan

hello dan, 
thanks for your help.
i changed the line in /etc/profile from:
export CLASSPATH=$CLASSPATH:/usr/lib/j2sdk1.3/lib/tools.jar
to
export CLASSPATH=$CLASSPATH:/usr/lib/j2sdk1.3/lib/tools.jar:.
now it works.
don't know why, but it works.

so , thanks again :-)

beste gruesse
jochen


p.s.:

jochen@archie:~$ echo $CLASSPATH
:/usr/lib/j2sdk1.3/lib/tools.jar:.:/usr/lib/j2sdk1.3/lib

archie:~# which java
/usr/bin/java
archie:~# java --version
Unrecognized option: --version
Could not create the Java virtual machine.


archie:~# dpkg --list | grep j2sdk
hi  j2sdk1.3       1.3.1-1        Blackdown Java(TM) 2 SDK, Standard Edition
archie:~# dpkg --list | grep java 
hi  java-common    0.14           Base of all Java packages
ii  jswat          1.5.10-1       JPDA java debugger


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to