Discussions
Categories
- 197.1K All Categories
- 2.5K Data
- 546 Big Data Appliance
- 1.9K Data Science
- 450.8K Databases
- 221.9K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 552 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 555 SQLcl
- 4K SQL Developer Data Modeler
- 187.2K SQL & PL/SQL
- 21.4K SQL Developer
- 296.3K Development
- 17 Developer Projects
- 139 Programming Languages
- 293K Development Tools
- 110 DevOps
- 3.1K QA/Testing
- 646.1K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 158 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 19 Java Essentials
- 162 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 205 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 468 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 175 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 233 Portuguese
issues with applet and jnlp versions

jmz931
Member Posts: 11
hi to all... I want to ensure that my app customers use the latest java version. We are using glassfish 2.1.1 with the 1.6u21 and the same version to compile some apps including an applet and some swing apps downloaded through jnlp
Locally, I downloaded the java 1.6.0u37, change the JAVA_HOME and PATH variables, and also change the jdk version in netbeans... now I'm compiling my codes with it without problem..
the thing is that I wanted to ensure this version in the the jnlp and the applet. In the applet, we haved
<applet code="com/web/applet/ValidateXml"
archive="../../applet/xalan.jar, ../../applet/ValidateXml.jar, ../../applet/UtilXml.jar"
height="350" width="700" >
</applet>
after reading this
http://www.ailis.de/~k/archives/63-How-to-use-Java-applets-in-modern-browsers.html
I change it to
<object id="testapplet-object"
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="256" height="256"
codebase="http://java.sun.com/update/1.6.0/jinstall-6u37-windows-i586.cab#Version=1,6,0,37">
<param name="archive" value="../../applet/xalan.jar, ../../applet/ValidateXml.jar, ../../applet/UtilXml.jar" />
<param name="code" value="com.web.applet.ValidateXml" />
<embed id="testapplet-embed"
type="application/x-java-applet;jpi-version=1.6.0_37"
width="256" height="256"
archive="../../applet/xalan.jar, ../../applet/ValidateXml.jar, ../../applet/UtilXml.jar"
code="com.web.applet.ValidateXml"
pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.6.0_37-b06/windows-i586/xpiinstall.exe" >
</embed>
</object>
this seem to work in Internet Explorer but I don't see the applet after it 'opens'. In firefox, the browser doesn't find the correct plugin and manually I can download the xpi installer.. but then, it tells me that the version is just installed in my machine
When I change back to the <applet> , I see the applet without problems but how can I set the minimum version with <applet>?
At the jnlp file, I change the j2se version to this:
<j2se version="1.6.0_37" href="http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html"/>
After I download the jnlp app, appears a java 7 :S It works fine but why java 7? I don't have it installed. Am I ok with the jnlp change?
greetings
Locally, I downloaded the java 1.6.0u37, change the JAVA_HOME and PATH variables, and also change the jdk version in netbeans... now I'm compiling my codes with it without problem..
the thing is that I wanted to ensure this version in the the jnlp and the applet. In the applet, we haved
<applet code="com/web/applet/ValidateXml"
archive="../../applet/xalan.jar, ../../applet/ValidateXml.jar, ../../applet/UtilXml.jar"
height="350" width="700" >
</applet>
after reading this
http://www.ailis.de/~k/archives/63-How-to-use-Java-applets-in-modern-browsers.html
I change it to
<object id="testapplet-object"
classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="256" height="256"
codebase="http://java.sun.com/update/1.6.0/jinstall-6u37-windows-i586.cab#Version=1,6,0,37">
<param name="archive" value="../../applet/xalan.jar, ../../applet/ValidateXml.jar, ../../applet/UtilXml.jar" />
<param name="code" value="com.web.applet.ValidateXml" />
<embed id="testapplet-embed"
type="application/x-java-applet;jpi-version=1.6.0_37"
width="256" height="256"
archive="../../applet/xalan.jar, ../../applet/ValidateXml.jar, ../../applet/UtilXml.jar"
code="com.web.applet.ValidateXml"
pluginspage="http://javadl.sun.com/webapps/download/GetFile/1.6.0_37-b06/windows-i586/xpiinstall.exe" >
</embed>
</object>
this seem to work in Internet Explorer but I don't see the applet after it 'opens'. In firefox, the browser doesn't find the correct plugin and manually I can download the xpi installer.. but then, it tells me that the version is just installed in my machine
When I change back to the <applet> , I see the applet without problems but how can I set the minimum version with <applet>?
At the jnlp file, I change the j2se version to this:
<j2se version="1.6.0_37" href="http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html"/>
After I download the jnlp app, appears a java 7 :S It works fine but why java 7? I don't have it installed. Am I ok with the jnlp change?
greetings
This discussion has been closed.