gcj/365: gcj cant find libgcj.zip

bryce@albatross.co.nz bryce@albatross.co.nz
Sat Oct 28 19:16:00 GMT 2000


>Number:         365
>Category:       gcj
>Synopsis:       gcj cant find libgcj.zip
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Oct 28 19:16:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.97 20001028 (experimental)
>Organization:
>Environment:

>Description:
The latest compiler appears to be unable to find libgcj.zip
unless it is explicitly referenced in the CLASSPATH 
environment variable, even though I have it installed in the
right place:

$ unset CLASSPATH
$ gcj BitSetTest.java -o bst --main=BitSetTest
BitSetTest.java:0: Can't find default package `java.lang'. Check the CLASSPATH environment variable and the access to the archives.
1 error

$ export CLASSPATH=~/gcc/share/libgcj.zip
$ gcj BitSetTest.java -o bst --main=BitSetTest
[ok...]

$ which gcj
~/gcc/bin/gcj
$ ls -l ~/gcc/share/libgcj.zip 
-rw-r--r--    1 bryce    bryce     1521471 Oct 29 14:55 /home/bryce/gcc/share/libgcj.zip
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Java-prs mailing list