MLUG: Re: [MLUG] installing java/jikes
Re: [MLUG] installing java/jikes
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Thu, 26 Apr 2001, it was written:

> I'm having some trouble getting jikes (ibm's java compiler) installed on
> my laptop.  I let did apt-get install jikes on my debian system (progeny
> actually- http://www.progeny.com - pretty cool), but whenever I try to
> compile something I get:
> 
> EMAIL:PROTECTED:~/java/game$ jikes RunGame.java 
> 
> Found 2 system errors:
> 
> *** Error: Could not find package named: 
>                 /usr/share/java/repository/java/util
> 
> 
> *** Error: Could not find package named: 
>                 /usr/share/java/repository/java/lang
> 
> The /usr/share/java/repository direcotry exists, but it is empty.  What
> belongs there?  Is that where I should put the jdk 1.3 files? 

The problem is that you don't have the standard java classes in your
classpath.  You don't need them there to use javac because it knows about
them already, but jikes doesn't.  Find the .jar file called (something
like) rt.jar and stick it in $CLASSPATH (preferably at the beginning of
it).

Cheers, Rob

--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php

Archives are available at http://mlug.missouri.edu/list-archives/