This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Five Lines of Code and have Christian Clausen on-line!
See this thread for details.
Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Query on invoking an Applet on a Linux box.

 
Ranch Hand
Posts: 687
Hibernate jQuery Spring
  • Mark post as helpful
  • send pies
  • 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.
    Bookmark Topic Watch Topic
  • New Topic