Alexander Horn wrote (Thursday 16 September 2004 2:52 pm):
> Compiling my Hello World Java prog with jikes, I get an error saying:
>
> ----------------------
> *** Semantic Error: You need to modify your classpath, sourcepath,
> bootclasspath, and/or extdirs setup. Jikes could not find package
> "java.lang" in: .
> ----------------------
> So what should I set those env-vars to? Kronos' Java is configured
> different...I don't know really where to look.
>
> thanks for the help,
> alex

Well, first thing, do you need to use jikes? javac should be fine for 
most stuff, I think. Second, is JAVA_HOME set? It should point to the 
root of your java install, I believe (eg, for me 
its /opt/blackdown-jdk-1.4.2_rc1). Thirdly, fwiw, the relavant-looking 
portions of my CLASSPATH 
are /opt/blackdown-jdk-1.4.2_rc1/jre/lib/rt.jar:.:
The contents of rt.jar appear to be the class files for just about 
everything on my system, java-wise.

Hope this helps, at least somewhat :-)


-- 
Peter Snoblin - http://entropicaccess.net/

-----------------------------------------------------------------
To get off this list, send email to [EMAIL PROTECTED]
with Subject: unsubscribe
-----------------------------------------------------------------

Reply via email to