File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Applets and the fly likes Query on invoking an Applet on a Linux box. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Query on invoking an Applet on a Linux box." Watch "Query on invoking an Applet on a Linux box." New topic

Query on invoking an Applet on a Linux box.

Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687


I need some help for the following and would appreciate it a lot, if anyone could help me out or redirect me to references
which could possibly have the answers.

We are testing our application for Multi OS/ Multi Browser compatablity.
As of now the same has been tested on IE v6 and Netscape v7.2 on Windows and it works fine.

The problem is I am facing problems in loading applets while testing the same on Linux - Netscape/Mozilla/Firefox combination.

The following lines of code are for the Applet invoker.


<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="1" height="1" align="baseline" codebase=",3,0,0">
<PARAM NAME="code" VALUE="[package].AppletInvoker.class">
<PARAM NAME="ARCHIVE" VALUE="/ApplicationName/helper.jar" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.3">
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_archive" VALUE="/ApplicationName/helper.jar">
<PARAM NAME="scriptable" VALUE="false">
<EMBED type="application/x-java-applet;version=1.3" width="1"
height="1" align="baseline" code="[package].AppletInvoker.class"
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_archive" VALUE="/ApplicationName/helper.jar">
<PARAM NAME="cache_version" VALUE="">
No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!


",3,0,0" can be ignored as to be the reason,
as we already have the JRE installed on the linux clients and the same is not downloaded from the sun site.

We were able to successfully test a dummy html invoking an dummy Applet on the linux box,
the difference between the dummy and our application being the dummy html didn't download any jar file as our application does.

Does it have anything to do with any permissions we need to give on the linux box to allow execution or
are we doing something wrong with the tags [My guess is <OBJECT> dosen't quite work for Linux-Netscape as it does for Windows-Netscape] above?

Note: we already have read-write permissions to the linux log in user profile on the cache folder location for netscape but the jar's are still not getting downloaded.

Linux box details.

Browser: Netscape v7.2
JRE Plugin: v1.4.2

Thanks & Regards
Devesh H Rao.
I agree. Here's the link:
subject: Query on invoking an Applet on a Linux box.
jQuery in Action, 3rd edition