gcj 4.3.2 on windows

Little little369@gmail.com
Fri Oct 24 15:34:00 GMT 2008


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.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /