[Bug java/15474] New: libgcj jar file should always be in classpath at runtime

green at redhat dot com gcc-bugzilla@gcc.gnu.org
Sun May 16 10:49:00 GMT 2004


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



More information about the Java-prs mailing list