Applets in non-plugin IE

I have an applet that loads beatifully on clients that have the java plugin installed. on machines that just run the microsoft vm, it doesn't load and the error message is "ClassNotFoundException". Now these microsft vm machines can load other applets - in particular I was able to load a simple scribble applet. So I'm wondering why my applet doesn't load and the scribble applet does. I even took the scribble applet code, rebuit it w/ jBuilder , put it on my webserver (iPlanet) and COULDN'T load it from a microsft vm machine. what's going on? I thought maybe the microsoft vm only loads classes built with old jdk's so I downloaded 1.1.8 and rebuilt my applet - but still no luck. any ideas?

That depends on what packages the applet is using - microsoft doesn't support SWING and some other APIs. Second thing is that I've found that code compiled on SDK 1.4 and above doesn't run on microsoft at all.
Try to convert your HTML code for the applet with the HtmlConverter tool that is in YOUR_JAVA\bin directory. It will change the APPLET tag to OBJECT tag and the IE will load the appropriate plugin to view it.
Filip

Similar Messages

  • Security problem when signed applet dynamically load plugins

    Hi!
    I have one problem : "security problem when signed applet dynamically load plugins"
    This is the scenario:
    the main program [app.jar]
    . contain applet and shared library (interface & implement of common class)
    . it is signed and run normally on browser
    . it can draw image loaded from other URL [ex] http://bp1.blogger.com/image.jpg
    . the image loader is in the shared library
    . dynamically load amazon.jar through URLClassLoader and reflection
    the plugin [amazon.jar]
    . search amazon product [ex] Harry Potter book
    . draw image on applet
    . use image loader from shared library, BUT CANNOT LOAD IMAGE
    The question: "Why it cannot load image, because the image loader is in the shared library which has been signed and working?" I tried to sign the amazon.jar too, but it did not work.
    Your reply would be very helpful. Thank you.
    Sovann

    hello. i have create a signed applet for A.jar. A.jar include two package B and C. the main applet class is within B.
    B need some classes in C to run the applet. but i got the error that class in package c are not found.
    what shall i do?

  • IE/Netscape and Applet w/out Plugin

    Does anyone understand why I can bring up an Applet (not JApplet) using IE 5, but Netscape 6 asks for the plugin?
    Is there a way to make Netscape 6 work like IE 5???
    Netscape is suppose to have Java 2 embeded. I'm not even sure why it would ask for a plugin. I was surprised to see that IE works.

    Does anyone understand why I can bring up an Applet
    (not JApplet) using IE 5, but Netscape 6 asks for the
    plugin?If you don't have a plug-in installed, then your Applet is running under IE's JVM. Since it works, it must not depend on Java 2.
    Is there a way to make Netscape 6 work like IE 5???
    Netscape is suppose to have Java 2 embeded.Actually, NS 6 does not use it 'own' JVM, it works with Sun's JRE through the plugin.

  • Problem in loading applet from non executable jar file

    hello ,
    I am new to jar concept plz help.. I am trying to call an applet from another applet through frame it is working fine but its download time is much more. now i want to store all my images , sound files and class files of other applets in a jar file and want to access these inner applets from this jar file so that it will make only one http connection with the server for this jar file only and can reduce the download time of applet.
    Can anyone can give me suggestion plz..
    Thanx

    You have to download what you have to download. You
    probably can't easily share images between 2 separate
    Jar files. Unless you can expose them through the
    other applet via a method that can be known once you
    have the reference to the other applet.Thanx but i think i have to elaborate the problem :
    my project structure is just like this ::
    on the top is ::
    Applet A---> from this applet i am callling Applet B & Applet C in frame
    and communication is established between these 3 applets successfully .
    now i have made a single non executable jar file which contains images , sound and class files of these applets .
    so i am referencing images and sound files in applets through this jar.
    but i wanted to load Applet B & C through this jar file only.
    How can i do this ??
    Thanx .. I hope now the problem is clear

  • Can recommand a Image editor online applet or activeX plugin for IE

    I am working on a J2EE project , it need a Applet or Activex embeded in IE to do some operation on image, this plugin can accept the source image to be edited in the form of binary stream , the same that the finished image can save as binary stream and pass to a Servlet. can do some recommendations for me ?? thanks

    I am working on a J2EE project , it need a Applet or Activex embeded in IE to do some operation on image, this plugin can accept the source image to be edited in the form of binary stream , the same that the finished image can save as binary stream and pass to a Servlet. can do some recommendations for me ?? thanks

  • Running two applets in same plugin VM

    I have two different applets that refer to the same jar file. When I start the first applet all works well. When I close the first applet and start the second applet (without restarting the browser), the plugin seems to reuse the classes that it used for the first applet. This causes all static members of the classes to have values that refer to the configuration of the first applet and not the second. If I restart the browser between the two applets, the second applet works without problems. Is this normal behavior for the plugin ? Can I configure the plugin to use a new classloader when opening a new applet ?

    My understanding is that each applet gets a different class context, but that only means that if the requested classes have the same fully qualified name, they can still come from different jars. If they come from the same jar, you would want this type of static changes, otherwise it would be more difficult to communicate between the applets.
    Perhaps you can check the settings of the plugin. There is an option on re-useing class loaders that can be checked/unchecked. Maybe that would make a difference.
    Sylvia

  • GDI object leak using an applet with Java Plugin 1.4.2_02

    We have an application where we use an applet to draw some graphs. The applet has an interface to update the graphical data using Javascripts. Now duing every graphical update of the graph there a leak of the GDI objects. Over time the display on the machine gets frozen due to lack of resources.
    This problem is happening with IE 6.0 using Sun Java Plug-in 1.4.2_02.
    Has anybody else seen this problem. Is there any work aorund for this issue.

    The code is not leaking. This has been verified.
    The problem has been fixed in 1.5.0 (5.0) Beta 2 version but I don't know then final release of this is going to be. Also using a beta version now is not an option.
    The 1.4.2_04 did not fix the GDI leak that I am seeing, I was hoping it would.

  • IExplorer doesn`t build up an applet within a plugin tag

    I`m developing a jsp application on a Netscape 6.0. Within it, the applets work fine, but within an IExplorer 6.0 there is nothing built up. Not even a grey square or any kind of ERROr-message.
    Why?

    Make sure in your IE settings the Java Sun
    Use Java 2 v1.3 (applet) is checked
    Also I would checkout some of the other java options in the IE explorer to make sure that is ok.

  • Compile JMF applet for non JMF JVM

    I have been programing java for about 2 years. I haven't used any extras for java e.g. JMF. If i install JMF on my pc and make an applet using JMF is there any way of compiling it to play on a pc without JMF installed.

    lib/customizer.jar is your best bet. It can make
    relatively small distributables for specific media
    types and uses.
    (Though I'd recommend dumping applets in favour
    of a web start launched application, nowadays..)

  • Re: HELP - ON BROWSER, Applets, JMF & Swings & Plugins  - Applet deployment

    hiiiiii,
    plz send me ur working code of media player in java .i need this for my major project.i m facing problem with media package .
    thnx.

    Oh, I see. IE makes you use the Information Bar:
    IE 6 has an "Informat Bar" that appers at the top of the HTML content.
    When I copy and compile your example in a temporary directory and enter the URL in IE6:
    C:\temp\WelcomeApplet.html
    There is a message:
    TItle: Information Bar
    Did you notice the information Bar?
    The Information Bar alert you when Internet Explorer block a
    pop-up window or file download that might not be safe. If a
    Web page does not display properly, look for the information
    Bar (net the top of your browser)
    [Checkbox] Do not show this message again.
    (link) Learn about the Information Bar
    (button) OK
    I click OK
    and the Information Bar says:
    To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options...
    I click on the Information Bar and a context menu appears:
    Allow Blocked Content...
    What's the Risk?
    Information Bar Help
    I choose Allow Blocked Content...
    Title: Security Warning
    Allow active content such as script and ActiveX controls can be useful,
    but active content might also harm your computer.
    Are you sure you want to let this file run active content?
    Yes/No
    I choose Yes
    It works for me in IE 6

  • Applet doesn't show after plugin update & using JNLP, no errors

    We have an applet that worked after the plugin update, then I wrote the JNLP file and can't get it working, it seems to be loading but doesn't show anything. I have tried and searched for possible errors but doesn't seem to be any obvious error for me. Also JaNeLA doesn't give any errors. When I try to load the applet I can see how open two java consoles (maybe this is an error?), in the first console the last output is:
    network: Created version ID: 1.0+
    network: Created version ID: 6.0.18
    basic: Progress indicator deleted: nullAnd in the second:
    basic: Subprogram loaded.
    basic: Applet resized and added to parent container
    basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 309262 us, pluginInit dt 2161125 us, TotalTime: 2470387 us
    basic: Loading Java Miniapplication
    basic: Loading Java MiniapplicationThe jnlp file I wrote is this:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://genomedu.net/applet/applet/" href="jvrmed_applet.jnlp">
      <information>
        <title>JApplet demo</title>
        <vendor>Jungle waa</vendor>
        <homepage href="http://funforyou.net/"/>
        <description>This is a demo</description>
        <offline-allowed/>
      </information>
        <resources>
          <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
          <jar href="http://download.java.net/media/applet-launcher/applet-launcher.jar"/>
          <jar href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar"/>
          <jar href="http://download.java.net/media/gluegen/webstart/gluegen-rt.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar"/>
          <jar href="http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar"/>
          <jar href="pixelmed.jar"/>
          <jar href="gdata-core-1.0.jar"/>
          <jar href="gdata-media-1.0.jar"/>
          <jar href="gdata-photos-2.0.jar"/>
          <jar href="gdata-photos-meta-2.0.jar"/>
          <jar href="google-collect-1.0.jar"/>
          <jar href="mail-1.4.3.jar"/>
         <jar href="jvrmed.jar" main="true"/>
       <extension name="jogl" href="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp"/>
        </resources>
      <applet-desc
          name="JVRMed_app"
          main-class="vrmed.app.jVRMed.JVRMed_app"
          width="793"
          height="563">
      </applet-desc>
    </jnlp>
    And the applet tag in the html is:
    <applet name="jvrmed" code="org.jdesktop.applet.util.JNLPAppletLauncher"
          width=793
          height=563 >
       <param name="jnlp_href" value="http://genomedu.net/applet/jvrmed_applet.jnlp">
    </applet>The old applet tag that launched the applet before the plugin update:
    <applet name="jvrmed" code="org.jdesktop.applet.util.JNLPAppletLauncher"
          width=793
          height=563
          archive="http://download.java.net/media/applet-launcher/applet-launcher.jar,
                   http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar,
                   http://download.java.net/media/gluegen/webstart/gluegen-rt.jar,
                http://download.java.net/media/java3d/webstart/release/vecmath/latest/vecmath.jar,
                http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dcore.jar,
                   http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.jar,
                pixelmed.jar,
                gdata-core-1.0.jar,
                gdata-media-1.0.jar,
                gdata-photos-2.0.jar,
                gdata-photos-meta-2.0.jar,
                google-collect-1.0.jar,
                mail-1.4.3.jar,
                   jvrmed.jar">
       <param name="codebase_lookup" value="true">
       <param name="subapplet.classname" value="vrmed.app.jVRMed.JVRMed_app">
       <param name="subapplet.displayname" value="jVRMed">
       <param name="noddraw.check" value="true">
       <param name="progressbar" value="true">
       <param name="jnlpNumExtensions" value="1">
       <param name="jnlpExtension1"
              value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
       <param name="idsession" value="jvrmed_snaps">
       <param name="idprofile" value="1">
    </applet>I know there are many extra parameters in the old version, I have deleted them for debugging because there was the same result with them. What really bothers me is that I don't get any error and the java process is running while tries to load the applet. Anyone had a similar experience and can give a clue?

    Hi,
    since JRE 6u21 the JNLPAppletLauncher doesn't work anymore.
    The Java 3D's jars and native libraries hosted by Oracle.Sun can be accessed by including the extension http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp. More details can be found here : Java 3D Web Start Release https://j3d-webstart.dev.java.net/release/index.html
    See also the example 'H'weight & L'weight in Harmony' http://www.interactivemesh.org/testspace/appletpropelleruniverse1200x800_J3D.html and search in the Java 3D forum http://www.java.net/forums/javadesktop/java-desktop-technologies/java-3d
    This is an attempt to adapt your JNLP file :
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://genomedu.net/applet/applet/" href="jvrmed_applet.jnlp">
      <information>
        <title>JApplet demo</title>
        <vendor>Jungle waa</vendor>
        <homepage href="http://funforyou.net/"/>
        <description>This is a demo</description>
        <offline-allowed/>
      </information>
      <resources>
        <j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>
        <!-- !!! Includes the remote Java 3D / JOGL libraries !!! -->
        <extension href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
        <jar href="pixelmed.jar"/>
        <jar href="gdata-core-1.0.jar"/>
        <jar href="gdata-media-1.0.jar"/>
        <jar href="gdata-photos-2.0.jar"/>
        <jar href="gdata-photos-meta-2.0.jar"/>
        <jar href="google-collect-1.0.jar"/>
        <jar href="mail-1.4.3.jar"/>
        <jar href="jvrmed.jar" main="true"/>
        <property name="sun.awt.noerasebackground" value="true"/> 
        <property name="sun.awt.erasebackgroundonresize" value="true"/> 
      </resources>
      <applet-desc
          name="JVRMed_app" main-class="vrmed.app.jVRMed.JVRMed_app" width="793" height="563">
      </applet-desc>
    </jnlp>
    Applet tag:
    <!-- please check if codebase="??" is needed -->
    <applet name="jvrmed" width=793 height=563 >
       <param name="jnlp_href" value="http://genomedu.net/applet/jvrmed_applet.jnlp">
    </applet>August

  • JSP:Plugin and naming an applet

    Howdy,
    I am presently having good success with the jsp:plugin tag starting my applet.
    But, I can not seem to give the applet an ID or NAME in the <object> or <embed> tag.
    This is needed, as I am attempting to access the applet from javascript in the html page.
    my jsp:plugin tag looks like this:
    <jsp:plugin type="applet"
              code="Pi_saa/Plugin"
              codebase="/lms1/classes"
              name="AACPlugin"
              archive="/lms1/classes/Plugin.jar"
              height="100" width="100">
    <jsp:params>
    <jsp:param name="org.omg.CORBA.ORBSingletonClass" value="org.jacorb.orb.ORBSingleton"/>
    <jsp:param name="org.omg.CORBA.ORBClass" value="org.jacorb.orb.ORB"/>
    <jsp:param name="JacorbProxyServerURL"
    value="http://localhost:8080/lms1/classes/aaclms.ior"/>
    <jsp:param name="MAYSCRIPT" value="TRUE"/>
    </jsp:params>          
    <jsp:fallback>Oops! Cannot load AAC LMS Plugin</jsp:fallback>
         </jsp:plugin>
    The resulting html (netscape) looks like this:
    <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100" height="100" codebase="http://java.sun.com/products/plugin/1.2.2/jinstall-1_2_2-win.cab#Version=1,2,2,0">
    <PARAM name="java_code" value="Pi_saa/Plugin">
    <PARAM name="java_codebase" value="/lms1/classes">
    <PARAM name="java_archive" value="/lms1/classes/Plugin.jar">
    <PARAM name="type" value="application/x-java-applet;">
    <PARAM name="org.omg.CORBA.ORBClass" value="org.jacorb.orb.ORB">
    <PARAM name="org.omg.CORBA.ORBSingletonClass" value="org.jacorb.orb.ORBSingleton">
    <PARAM name="JacorbProxyServerURL" value="http://localhost:8080/lms1/classes/aaclms.ior">
    <PARAM name="MAYSCRIPT" value="TRUE">
    <COMMENT>
    <EMBED type="application/x-java-applet" width="100" height="100" pluginspage="http://java.sun.com/products/plugin/" java_code="Pi_saa/Plugin" java_codebase="/lms1/classes" java_archive="/lms1/classes/Plugin.jar" org.omg.CORBA.ORBClass="org.jacorb.orb.ORB"
    org.omg.CORBA.ORBSingletonClass="org.jacorb.orb.ORBSingleton"
    JacorbProxyServerURL="http://localhost:8080/lms1/classes/aaclms.ior"
    MAYSCRIPT="TRUE"
    >
    <NOEMBED>
    </COMMENT>
    Oops! Cannot load AAC LMS Plugin
    </NOEMBED></EMBED>
    </OBJECT>
    If you fight your way through this, you can see that there is no ID or NAME for these tags. That means I cannot access the applet from javascript.
    Can anyone give me some help?
    Thanks
    Mark

    Cant you just use
    document.applets[0]
    if you have just an applet in your page....
    You can either use the name or an index as u do for any document property

  • Add-ons keeps loading and non of my plugins show

    I have had this problem for Month now, when I go to Tool - add-ons then the upcoming page keeps loading, I have disabled my plugins to see if that would do something about this, but nothing. So page keeps load and non plugins show.

    Hi,
    Please try deleting the '''extensions.*''' files in the [http://kb.mozillazine.org/Profile_folder Firefox Profile Folder] after exiting Firefox. At the next startup Firefox will redetect the add-ons and rebuild the deleted files. Firefox may also ask you to approve the detected add-ons, with each tab corresponding to an add-on. Click '''Allow this installation''' and '''Continue''' on each tab, but click '''Restart''' only on the last tab.
    [https://blog.mozilla.com/addons/2011/08/11/strengthening-user-control-of-add-ons/ Strengthening User Control]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • How to deploy a JSP with jsp:plugin with applet type?

    Hi,
    I am a new comer for JSP and when to try to a simple JSP with plugin for applet. Following is part of my JSP script:
    <jsp:plugin type="applet" code="DigitalClock" align="center" height="25" width="300"
    >
         <jsp:params>
              <jsp:param name="language" value="<%=request.getLocale().getLanguage()%>" />
              <jsp:param name="country" value="<%=request.getLocale().getCountry()%>" />
              <jsp:param name="bgcolor" value="FFFFFF" />
              <jsp:param name="fgcolor" value="CC0066" />
         </jsp:params>
              <jsp:fallback>
              <p>Unable to start plugin.</p>
         </jsp:fallback>
    </jsp:plugin>
    ===========
    And Java plugin tell me that can't find DigitalClock class. I want to ask how to deply this JSP using deploytool.
    Thanks,
    Wise

    Hi
    It should be in such a way,
    The Jsp:param is similar to PARAM used in Applet.
    <jsp:plugin type="applet"
    code="MyApplet.class"
    width="475" height="350"
    <jsp:params>
    <jsp:param name = "PARAM1" value="VALUE1" />
    </jsp:params>
    </jsp:plugin>
    jsp:fallback Element
    It provides alternate text to browsers that do not Support OBJECT or EMBED. You can use this element in the same way as you provide alternate text in your applet.
    <jsp:fallback>
    <b> Error: This example requires java </b>
    </jsp:fallback>
    </jsp:plugin>
    I hope this will help you.
    Thanks
    Bakrudeen
    Technical Support Engineer
    Sun MicroSystems Inc, India

  • Signed Applet aah ... im getting crazy...

    Hello
    I have looked on all tutorials i can find about making an applet an signed applet, but none have WORKED for me.
    I want the applet to be able to communicate with a server using sockets , if im right applet arent allowed to communicate with sockets if the applet isnt signed.
    If im right you have to make the applet to a jar file to get it signed , am i right?
    Can you please write an tutorial about how to make the applet signed (to make it able to communicate with an server using sockets).
    Please make it like stepped like this:
    1. Blablablabla
    2. Blablablabla
    Thank you so much if you post.
    /javaguy
    PS. if you wonder why i ask this questiong the answer is that im trying to make an online game.

    You can use signing tool from Mozilla ,
    http://www.mozilla.org/projects/security/pki/nss/tools.
    Use this tutorial,
    http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/rsa_signing.html
    See this topic Signing Applets Using Netscape Signing Tool
    It has worked for me. Let us know if you face any problem with this.
    --Sachin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • MacBook, low on memory, won't boot up completely

    My old and proud macbook is maxed on memory space...which is why I assume it is not booting up completely. I turn it on and it goes into just the lovely outer space milky way image...and stays there. Is there any way I can get it to launch all the wa

  • How to transfer photo from iPhone

    I like to transfer photo's from iphone5 to my ipad2

  • HR ABAP- concurrent employment  ( LDB :PNPCE)

    Hi      I am working on concurrent employment in HR. I have to write ABAP report I don’t know where to start. Do you guys give me some idea? How I’ll start. I know that we use LDB PNPCE for concurrent employment. Do you guys know any standard reports

  • Problems with iTunes shortcut

    I'm having a problem with the iTunes shortcut, I pin it to my taskbar but all I get is this: http://i38.tinypic.com/bdmmhi.png The iTunes shortcut looks like it hasn't been booted, right? But thing is, it has, it's just that the actual iTunes-process

  • Need help with Stacks

    Hi all, I'm writing a parser that reads a file, looks for tags and adds them to a stack when an opening tag is found, i.e. <html>. When a closing tag is found (i.e. </html>) I want to compare this tag with the tag at the top of the stack, and if they