Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mac Swing Applet won't run(newbie)

0 views
Skip to first unread message

Michael H.

unread,
May 17, 2000, 3:00:00 AM5/17/00
to
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)
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

Lee Ann Rucker

unread,
May 17, 2000, 3:00:00 AM5/17/00
to
In article <ad255-2AEC32....@news.vaxxine.com>, "Michael H."
<ad...@hwcn.orgBLANK> wrote:

>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

0 new messages