This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can't find default package


This works.


gcj --classpath=/opt/gcc-3.4/share/java/libgcj-3.4.jar -c Hello.java


If I create a link to libgcj-3.4.jar to libgcj-3.4.jar
This fails gcj  -c Hello.java

This works gcj --classpath=/opt/gcc-3.4/share/java/libgcj.jar -c Hello.java

My guess is the 3.4 got left off somewhere or something else got added.

Andrew Haley wrote:
steve writes:
 > Is this me or gcc?

Something probably went wrong during "make install".

Try

strace -f -e trace=file gcj Hello.java

and see where it tries to open libgcj-3.4.jar.  Find out why
libgcj-3.4.jar isn't there.

Andrew.



--
Steve Pribyl
Steve AT NetFuel dot com
Computer Infrastructure Practitioner


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]