aspose file tools*
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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
Author

Query on invoking an Applet on a Linux box.

Devesh H Rao
Ranch Hand

Joined: Feb 09, 2002
Posts: 687

Hi,

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="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,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 = "CACHE_VERSION" VALUE = "1.1.1.1" >
<PARAM NAME="scriptable" VALUE="false">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.3" width="1"
height="1" align="baseline" code="[package].AppletInvoker.class"
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"
pluginspage="http://java.sun.com/j2se/1.3/download.html">
<PARAM NAME="cache_option" VALUE="Plugin">
<PARAM NAME="cache_archive" VALUE="/ApplicationName/helper.jar">
<PARAM NAME="cache_version" VALUE="1.1.1.1">
<NOEMBED>
No Java 2 SDK, Standard Edition v 1.3 support for APPLET!!
</NOEMBED>
</EMBED>
</COMMENT>
</OBJECT>

================================================================================================


"http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,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.

OS: RHEL ES4
Browser: Netscape v7.2
JRE Plugin: v1.4.2



Thanks & Regards
Devesh H Rao.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Query on invoking an Applet on a Linux box.
 
Similar Threads
loading archives from different location.
How to call a Applet's method from javascript in NS
Swing back to AWT
plugin download problem in applet using swing
3 problems with my applet...