Re: Error Starting Application.

Nathan Fiedler <[email protected]> 08 Oct 2003 08:38:34 -0700
Newsgroups gmane.comp.java.jswat.user
Organization Blue Marsh Softworks
Message-ID <1065627514.7368.1.camel@nuts>
Your classpath seems to be missing the d:\muffin\src directory (the
place where the .class files are stored). Presently the classpath is set
to d:\jswat\jswat.jar which does not include your classes. I would set
the classpath to d:\muffin\src _instead of_ d:\jswat\jswat.jar.

n


On Wed, 2003-10-08 at 01:34, Yohan wrote:
> I keep getting the error "The source for the class URLClassLoader
> could not be found". Could it bcos i have not installed my java
> sources .. ?? I have setup classpath and sourcepath correctly. The
> application seems to run fine outside jswat. The message window shows
> ...
>  
> VM loading with following options, class name, and class arguments.
> d:\j2sdk1.4.1_01\jre\bin\java  -cp "D:\jswat\jswat.jar" 
> d:\muffin\src\Muffin.class
> VM loaded
> Source for class not found. Check sourcepath. (Class:
> d:\muffin\src\Muffin.class )
> VM running
> Exception thrown: ClassNotFoundException: "d:\muffin\src\Muffin.class"
> [main] URLClassLoader$1.run (URLClassLoader.java:198)
> VM running
> Exception thrown: ClassNotFoundException: "d:\muffin\src\Muffin.class"
> [main] URLClassLoader.findClass (URLClassLoader.java:203)
> VM running
> Disconnected from debuggee VM
> VM closed