• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Query on invoking an Applet on a Linux box.

 
Ranch Hand
Posts: 687
Hibernate jQuery Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic