Create an environment variable with the name JIKESPATH and add tools.jar and
rt.jar to it (just like in the CLASSPATH variable).

> -----Ursprüngliche Nachricht-----
> Von: Martin Monsorno [mailto:[EMAIL PROTECTED]
> Gesendet: Donnerstag, 31. Juli 2003 17:12
> An: [EMAIL PROTECTED]
> Betreff: How to use jikes
> 
> 
> Hi *,
> 
> I want to use jikes to compile my classes, but it complains that it
> does not find the java standard library classes.  The compilation
> buffer says:
> 
> ,----
> | cd /home/monsorno/java
> | jikes -classpath "/home/monsorno/java/lib/bla.jar" 
> -sourcepath "/home/monsorno/java/src" -d 
> /home/monsorno/java/classes Dings.java
> | 
> | Found 2 system errors:
> | 
> | *** Error: Could not find package "java/util" in:
> |                 /home/monsorno/java/lib/bla.jar
> `----
> 
> Must I add $JAVA_HOME/jre/lib/rt.jar manually to my project's
> classpath?  And if yes, how can I use $JAVA_HOME to make it
> independant from my local environment?  Or wouldn't it be better if
> JDEE would add this automatically to the classpath, if jikes is set as
> the compiler?
> 
> (I'm using xemacs 21.4.13 on Linux, JDEE 2.2.8 and jikes 1.15)
> 
> -- 
> Martin
> 

Reply via email to