PDA

View Full Version : jikes compiler in CLI


mkwan
February 17th, 2003, 12:31 AM
greetings:

I have attempted to compile a simple helloworld program using the jikes compiler. I get 2 errors shown below:

Found 2 system errors:

*** Error: Could not find package "java/util" in:
.



*** Error: Could not find package "java/lang" in:


and yet I was able to compile the code in project builder. what is going on here? and How do I fix the errors?


thanks

Banana
February 23rd, 2003, 07:21 AM
Try using javac instead of jikes, or setting your classpath in the arguments to jikes.

mkwan
February 23rd, 2003, 11:52 PM
how do I set the classpath to jikes?

Banana
February 24th, 2003, 07:57 PM
Not "set the classpath to jikes", "set the classpath" in "the arguments to jikes".

mkwan
February 24th, 2003, 08:21 PM
you mean like:

<jikes -option "classpath...."> ?


(sorry I have not done this before and I wanted to compile the java source code using the jikes compiler, but was getting errors similar to the earlier post)

mkwan
February 24th, 2003, 08:22 PM
disregard the last post

I forgot about the stupid angle brackets...