Results 1 to 2 of 2
  1. #1
    pink123 is offline Member
    Join Date
    Feb 2011
    Posts
    84
    Rep Power
    0

    Default Java Applet does not open after upgrade to 1.6

    I have an applet embedd in an html file.Applet use to open up on all computers having jre 1.5_06 and if that version is not there ,it promts to download and take user to the site to download but after the upgrade to 1.6.0_27 ,it does not opens on computers which do not have jre 1.6.0_27 and does not promts to download

    Initially with my java 5, I had following code in my login .html


    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="251" height="220" align="baseline"
    codebase="https://java.sun.com/update/1.5.0/jinstall-1_5_0_06-windows-i586.cab#Version=1,5,0,6">


    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.5.0" CODE = "testApplet.class" CODEBASE = "." ARCHIVE = "test.jar, Mtest.jar" WIDTH = 251 HEIGHT = 200 scriptable=false pluginspage="http://java.sun.com/j2se/1.5.0/download.html"><NOEMBED></COMMENT>
    "Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason."
    Your browser is completely ignoring the &lt;APPLET&gt; tag!
    </NOEMBED></EMBED>


    with 1.6 ,i am not sure what links to mention ,I am using the following


    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="251" height="220" align="baseline"
    codebase="http://oracleotn.rd.llnwd.net/otn-pub/java/jdk/6u27-b07/jre-6u27-windows-x64.exe">


    <COMMENT>
    <EMBED type="application/x-java-applet;version=1.6.0" CODE = "testApplet.class" CODEBASE = "." ARCHIVE = "test.jar, Mtest.jar" WIDTH = 251 HEIGHT = 200 scriptable=false pluginspage="http://java.com/en/download/inc/windows_new_ie.jsp"><NOEMBED></COMMENT>
    "Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason."
    Your browser is completely ignoring the &lt;APPLET&gt; tag!
    </NOEMBED></EMBED>


    Can you please help me with this?I am not sure what the pluginspage does?
    Thanks,

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,932
    Rep Power
    8

    Default Re: Java Applet does not open after upgrade to 1.6

    Why don't you deploy it in the way outlined in the tutorial?

    Lesson: Java Applets (The Java™ Tutorials > Deployment)
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Replies: 3
    Last Post: 01-05-2011, 07:29 AM
  2. webstart link some time doesn't work after Java upgrade
    By Richard Gillespie in forum Advanced Java
    Replies: 0
    Last Post: 12-21-2010, 04:01 PM
  3. upgrading each java upgrade?
    By j2me64 in forum Forum Lobby
    Replies: 2
    Last Post: 02-27-2010, 02:38 PM
  4. How to upgrade Java version in an application
    By New_ToJava in forum New To Java
    Replies: 37
    Last Post: 11-11-2008, 02:22 PM
  5. Replies: 4
    Last Post: 06-08-2007, 06:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •