This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/61: Error when attempting to run a gcj-compile program.
- To: java-gnats at sourceware dot cygnus dot com
- Subject: gcj/61: Error when attempting to run a gcj-compile program.
- From: mabdelma at uwaterloo dot ca
- Date: 4 Oct 1999 17:44:49 -0000
- Reply-To: mabdelma at uwaterloo dot ca
- Resent-Cc: java-prs at sourceware dot cygnus dot com, green at cygnus dot com,
- Resent-Reply-To: gnats-admin@sourceware.cygnus.com, mabdelma@uwaterloo.ca
- Resent-To: apbianco at cygnus dot com
>Number: 61
>Category: gcj
>Synopsis: Error when attempting to run a gcj-compile program.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Oct 04 10:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Michael Abd-El-Malek
>Release: gcj 2.95.1
>Organization:
>Environment:
Redhat 6.0
>Description:
I can compile java source code to .class files, and then use
a java VM to run these programs. However, when I create the
executable and try to run them, I get the error:
à'gnu.gcj.convert.Output_8859_1"http://sourceware.cygnus.com/java/ð"unable to flush output byte buffeP ¨`ÈðÀ°àdàdjava.lang.NullPointerException
>How-To-Repeat:
Make a simple Helloworld program:
class Helloworld {
public static void main(String[] args) {
System.out.println("Hello, GCC + Java.");
}
}
Then to compile, type:
gcj -g -o Helloworld --main=Helloworld Helloworld.java
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: