jQuery in Action, 3rd edition
The moose likes Applets and the fly likes Applets and OS X Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Applets and OS X" Watch "Applets and OS X" New topic

Applets and OS X

Mark Pasierb

Joined: Sep 01, 2004
Posts: 1
I don't think this is an Applet problem per se, but maybe someone here will have the answer!
I have a swing applet (compiled on my PC using javac -target 1.4). I added the class files to a jar file and installed on a web server.
The <applet> tag looks something like this:

The applet works find on Windows (with the appropriate Java Plug-in installed). But on Mac OS X machines it is intermittent - sometimes when the page is loaded I get a "applet notinited" error, sometimes it's fine.

I checked the console and get the typical "class not found" messages.

Does anyone have any ideas? Any Mac experts? At this point I am looking at any possibility - corrupt cache, proxy issues, etc.

Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
What browser are you using in Mac OS X? IE or Safari? Also are you using the new 10.3 code (which includes the new 1.4.2 MRJ) or the 10.2 stuff. You may wish to try compiling your code using a target of 1.1 if possible.
I agree. Here's the link: http://aspose.com/file-tools
subject: Applets and OS X
jQuery in Action, 3rd edition