This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/15474] New: libgcj jar file should always be in classpath at runtime
- From: "green at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2004 10:49:31 -0000
- Subject: [Bug java/15474] New: libgcj jar file should always be in classpath at runtime
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
We should always put the libgcj jar file in the runtime's classpath. This
should be OK, even if this file isn't installed.
This code...
public class showString
{
public static void main (String args[]) throws Exception
{
Class c = showString.class;
System.out.println (c.getResource( "/java/lang/String.class"));
}
}
...should print something like...
jar:file:///home/green/install/jhbuild-inst/share/java/libgcj-3.5.0.jar!/java/lang/String.class
I propose we stick it on the path just after core:/
--
Summary: libgcj jar file should always be in classpath at runtime
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: green at redhat dot com
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15474