From: Little <little369@gmail.com>
To: java@gcc.gnu.org
Subject: gcj 4.3.2 on windows
Date: Fri, 24 Oct 2008 15:34:00 -0000 [thread overview]
Message-ID: <20152337.post@talk.nabble.com> (raw)
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.
reply other threads:[~2008-10-24 15:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20152337.post@talk.nabble.com \
--to=little369@gmail.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).