An exception occurred:
java.lang.ClassNotFoundException: KochSnowflake
at
com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLo
aderOld.java)
at
com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLo
aderOld.java)
at
com.apple.mrj.JManager.JMAppletClassLoader_ROOT.loadClass(JMAppletClassLo
aderOld.java)
at
com.apple.mrj.JManager.JMAppletViewer_OLD.doLoadCode(JMAppletViewerOld.ja
va)
at
com.apple.mrj.JManager.JMAppletViewer_OLD.setState(JMAppletViewerOld.java
)
at com.apple.mrj.JManager.JMViewerEvent.post(JMAppletViewerOld.java)
at
com.apple.mrj.JManager.AVDispatcherThread.run(JMAppletViewerOld.java)
I am using MRJ 2.11(I believe, 2.1 at least), and I have included
swingall.jar, and some supporting gif files in the CodeWarrior 5.3
project. Any ideas?
please help,
Michael
>I wrote this out from the book "Java Software Solutions", so I don't
>think there are any logic errors. But when I compile, I get:
>
>An exception occurred:
>java.lang.ClassNotFoundException: KochSnowflake
> at
>com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLo
>aderOld.java)
Just to clarify the terminology, that's a run-time error, not compile-time.
>I am using MRJ 2.11(I believe, 2.1 at least), and I have included
>swingall.jar, and some supporting gif files in the CodeWarrior 5.3
>project. Any ideas?
When you say you included swingall.jar, do you mean just in your CW project?
Swingall.jar also needs to be in the MRJClasses folder (System
Folder:Extensions:MRJ Libraries:MRJClasses:) unless you set CW to bundle
it into your .jar file (something you really don't want to do).
--
Working at Apple for Javasoft
lru...@aruba.apple.com
Also at (but not very often) leeann...@eng.sun.com