WWJ Applet wont work in Mac OS

Asked By 280 points N/A Posted on -
qa-featured

Hi experts,

It's my first time using a WWJ, and I liked it.

I'm using (for developing it) Netbeans 6.8, WWJ SDK 0.6, javac 1.6.0_22, and OpenSude 11.3 (64bits). Once that is compiled and placed in the web, my applet works fine in Linux (Openuse and Ubuntu) and Windows XP and 7 using IE, Firefox, Opera and Chrome. 

But when I tried to view the applet in Mac OS, it doesn't work using Safari and Firefox. The applet doesn't even start and not even asking for trusting the jar, and also says nothing about the JNLPAppletLauncher.

I've tried using the simplest example that comes with the JJJ SDK (gov.nasa.worldwind.examples.applet – WWJApplet), but the problem is same. Please give me more info about why it doesn't work in Mac OS and how will it work in Mac OS?

Thanks.

SHARE
Best Answer by pinks123
Answered By 0 points N/A #100891

WWJ Applet wont work in Mac OS

qa-featured

Hi Julliane,

Have you created this through Linux or Windows? 

Try to run the Java Preferences Utility (/Applications/utilities/Java Preferences) to check for errors. But since it already had work with Linux and Windows, there should be no error at all. Have you also tried to compare your jnlp with that of the demo-site applets? Have you downloaded your jnlp file to the Mac?

Try compiling your applet in MAC and see any errors. Try to compare the jnlp on both your MAC and the linux. The main and mandatory field should only be in jnlp since the entry codebase is optional.

– Michelle Marks

Best Answer
Best Answer
Answered By 0 points N/A #100892

WWJ Applet wont work in Mac OS

qa-featured

The platforms that support WWJ currently are:

  • Windows x86 32bits and 64bits
  • Linux x86 32bits and 64bits
  • MacOSX
  • Solaris x86 32bits and 64bits
  • Solaris SPARC 32bits and 64bits

So if WWJ is not working in Mac OS you will need to check your hardware.Sometimes there is a problem with your OS if your hardware is less than 4 years old and if it is not SPARC based.

You also need to check your jnlp files.If you are using safari in MacOS,you will need to put the "applet-launcher.jar" file in your web directory.

You should also check the index.html file and see if it points to the main class or just the folder.It should point to the main class.

For example if your folder is "applet" and your main class is "myapplet" in index.html the code should be:

<param name="subapplet.classname" value="applet.myappet">

Thanks.

Login/Register to Answer

Related Questions