This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gcj 4.3.2 on windows
- From: Little <little369 at gmail dot com>
- To: java at gcc dot gnu dot org
- Date: Fri, 24 Oct 2008 08:33:34 -0700 (PDT)
- Subject: gcj 4.3.2 on windows
Hi,
I tried gcj on windows (mingw). Unfortunately, I could not make it work. I
set two environment variables, PATH to gcj, and CLASSPATH to ecj.jar. The
error message is as follow:
C:\TEMP\java>gcj -C j1.java
Exception in thread "main" java.lang.NullPointerException
<<No stacktrace available>>
The file j1.java prints "Hello World". If I used javac (from SUN.COM) to get
class file first, gcj can generate .exe. For example
javac j1.java
gcj --main=j1 j1.class
Executable file a.exe was generated. a.exe works correctly, and prints
"Hello World".
Could you provide information to help me? thanks.
--
View this message in context: http://www.nabble.com/gcj-4.3.2-on-windows-tp20152337p20152337.html
Sent from the gcc - java mailing list archive at Nabble.com.