[CALUG] jikes Java complier can't find java.lang

Bernard Karmilowicz karmilow at intencorp.com
Wed Jun 6 21:41:38 EDT 2007


Hi Eldon:

> I downloaded a java app that uses the jikes compiler but running it 
> results in
>      make: *** [vncviewer.jar] Error 1
> What should classpath, etc be set to?

That depends on where your Java-related libraries are located. I haven't 
played with Jikes, but have used Tomcat (which also required the 
inclusion of its library in the CLASSPATH environment variable).

My exported Java-related environment variables may serve as a useful 
example:

     ANT_HOME=/usr/src/ant
     CATALINA_HOME=/usr/src/tomcat
     CLASSPATH=/usr/src/tomcat/lib/servlet.jar:/usr/src/jsdk/lib/jsdk.jar:.
     JAVA_HOME=/usr/src/jdk

Jim Sansing's suggestions are also valuable.

Sincerely,

- Bernie

-- 
+---------+---------+---------+---------+
  IntEn Corporation
    Integrated Engineering Services
      http://www.intencorp.com
+---------+---------+---------+---------+





More information about the CALUG mailing list