[vox-tech] java

Micah J. Cowan micah at cowan.name
Fri Jan 20 15:50:58 PST 2006


On Fri, Jan 20, 2006 at 03:29:34PM -0800, Matin Hashemi wrote:
> I want to install a program from its source distribution, and
> unfortunately the source is in java which I don't know anything about!
> 
> The package Makefile use Jikes (IBM java compiler), so I installed the
> jikes first. But I get this error when trying to "make":
> 
> **********************************************************************
> jikes -nowarn +F -g  at/dms/compiler/tools/lexgen/Main.java
> 
> Found 1 system error:
> 
> *** Semantic Error: You need to modify your classpath, sourcepath,
> bootclasspath, and/or extdirs setup. Package "java/lang" could not be
> found in:
>                 /home/bin/antlr-2.7.5.jar
>                 /home/streamit-src-2.0/src
>                 /home/streamit-src-2.0/3rdparty
>                 .
> 
> make[1]: *** [at/dms/compiler/tools/lexgen/Main.class] Error 1
> make[1]: Leaving directory `/home/streamit-src-2.0/src'
> make: *** [all] Error 2
> ***********************************************************************
> 
> What is this "java/lang"? kind of a library? how should I add it in?

I forget the details, but I believe you need to add JAVA_HOME to your
environment, or some similar thing. Point it at the root directory of
your java installation. This information may be Sun-specific, but the
IBM version should be fairly similar.

HTH,
Micah


More information about the vox-tech mailing list