Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2005 11:49:27 -0500
From:      Bryan Dina <bdina@seresc.net>
To:        freebsd-alpha@freebsd.org
Subject:   wtf?? cant get gcj working...
Message-ID:  <1111769367.7472.15.camel@localhost.localdomain>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1111769367.7472.15.camel>