java/8292: GIJ does not run *.class files generated by GCJ

ozcan@ieee.org ozcan@ieee.org
Sun Oct 20 06:56:00 GMT 2002


>Number:         8292
>Category:       java
>Synopsis:       GIJ does not run *.class files generated by GCJ
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 20 06:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Utku Ozcan
>Release:        GCC-3.2
>Organization:
>Environment:
Sun Solaris 2.6
>Description:
GIJ doesn't run *.class files generated by GCJ.
It is as follows:
unix> gcj -C HelloWorldApp.java
unix> gij HelloWorldApp
Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldApp
unix>
CLASSPATH hasn't been set.
>How-To-Repeat:
gcj -C <classname>.java
gij <classname>

I think I have problem with Java frontend installation of GCC-3.2
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="HelloWorldApp.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="HelloWorldApp.java"

CmNsYXNzIEhlbGxvV29ybGRBcHAgewogICAgICAgICAgICAgICAgcHVibGljIHN0YXRpYyB2b2lk
IG1haW4oU3RyaW5nW10gYXJncykgewogICAgICAgICAgICAgICAgICAgIFN5c3RlbS5vdXQucHJp
bnRsbigiSGVsbG8gV29ybGQhIik7IC8vRGlzcGxheSB0aGUgc3RyaW5nLgogICAgICAgICAgICAg
ICAgfQogICAgICAgICAgICB9Cg==



More information about the Gcc-bugs mailing list