* gcj 4.3.2 on windows
@ 2008-10-24 15:34 Little
0 siblings, 0 replies; only message in thread
From: Little @ 2008-10-24 15:34 UTC (permalink / raw)
To: java
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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-24 15:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-24 15:34 gcj 4.3.2 on windows Little
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).