This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]