wtf?? cant get gcj working...

Bryan Dina bdina at seresc.net
Fri Mar 25 08:49:29 PST 2005


anyone have gcj working under FreeBSD 5.2.x alpha???  I have installed
it via the ports tree, it is ver. 4.0, and I stole the libgcj.spec file
from my linux box....  I am using bash shell, and have set a CLASSPATH
of ./:../, but I can not compile...

I get the following error when I try to compile the following source:

test.java
--
public class test {
   public static void main(String args[]) {
      System.out.println("Hello World!");
   }
}

##########
# OUTPUT #
##########

test.java:0: error: Can't find default package 'java.lang'. Check the
CLASSPATH environment variable and the access to the archives
1 error


--Bryan



More information about the freebsd-alpha mailing list