Bug 32294 - loading jar-files from / does not work
Summary: loading jar-files from / does not work
Status: UNCONFIRMED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-11 22:07 UTC by Christian Thalinger
Modified: 2007-06-11 22:07 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Thalinger 2007-06-11 22:07:05 UTC
Moving the file to a different directory works.

twisti@workstation:/$ cacao -jar javac.jar 
Exception in thread "main" java.lang.NoClassDefFoundError: com.sun.tools.javac.Main not found in java.lang.ClassLoader$1{urls=[file://javac.jar], parent=null}
   <<No stacktrace available>>
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.Main not found in java.lang.ClassLoader$1{urls=[file://javac.jar], parent=null}
   at java.net.URLClassLoader.findClass(URLClassLoader.java:530)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:341)
   at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:293)