Getting Java Applets to Work on Mac OS

Are you having trouble viewing some Java applets on a Mac? Got next generation Java Plug-in? The next generation Java Plug-in (introduced in Java SE 6 update 10), needs to be enabled in order to view applets that leverage features of this Java Plug-in. The next generation Java Plug-in is not enabled by default on Mac OS systems. So here are a few tips to enable the plug-in.
  • Upgrade to a 6u17 based Java update. This support page from Apple might be helpful.
  • Open the Java Preferences application and toggle setting to "Run applets: in their own process".
  • Restart your browser and try viewing the applet.
When using Firefox 3.5 and above, in some cases the Java Preferences setting does not fully disable the default MRJPlugin and fully enable the next generation Java Plug-in. If after the performing the above steps you still have problems viewing some applets, you will need to go to the guts of the problem. :-)

Perform the following steps to disable the default MRJPlugin:

  • Go to the /Applications/Firefox.app/Contents/MacOS/plugins directory.
  • Move the following files to a temp directory or another location:
    • JavaEmbeddedPlugin.bundle
    • MRJPlugin.plugin
  • Restart your browser.
  • To check which plug-in is being used by your browser, view the about:plugins URL. An entry titled "JavaPlugin2_NPAPI.plugin" indicates that the next generation Java Plug-in is enabled in your browser.

You can now enjoy Java applets on MacOS!

- Sowmya
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today