Well, I don't know why but jikes doesn't work for me. javac works fine 
though.

thanks for your help.


Alexander Horn wrote:


>Ok, it doesn't like me. I set my vars to where my JDK sits. Same error. 
>I just followed these instruction to set up my JDK stuff: 
>http://www.debian.org/doc/manuals/debian-java-faq/ch11.html#s11.2
>
>Perhaps I made a mistake when trying to get the compiler to work (?) 
>...you were saying javac and I had to apt-get jikes because 'man javac' 
>in kronos brought it up as "jikes."
>
>
>
>Peter Snoblin wrote:
>
>
>>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
>>-----------------------------------------------------------------
>>
>>
>
>-----------------------------------------------------------------
>To get off this list, send email to [EMAIL PROTECTED]
>with Subject: unsubscribe
>-----------------------------------------------------------------
>
>

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

Reply via email to