Troubles to start an applet

Hello,
I have Java Plug0in 1.3.1_04 installed and no any others.
I use the following code to invoke java plug-in
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="100%" height="100%" align="middle" id="ViewerApplet" name="ViewerApplet"
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0">
<PARAM NAME = "code" VALUE="com.mydomain.myproject.myclass.class">
<PARAM NAME = "archive" VALUE="myarchivefile.jar">
<PARAM NAME = "codebase" VALUE="/mycodebase/">
<PARAM NAME = "type" VALUE="application/x-java-applet;version=1.3.1_04">
<PARAM NAME = "MAYSCRIPT" VALUE="true">
<PARAM NAME = "scriptable" VALUE="true">
<PARAM NAME="cache_archive" VALUE="lib1.jar,lib2.jar,lib3.jar,lib4.jar">
No JDK 1.3 support for APPLET!!
</OBJECT>
When I try to invoke the Java Plug-in I get a message:
"Java Plug-in 1.3.1_01 cannot be located because values in the registry key HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.3.1_01 is not found or is not longer valid"
There is "Java(TM) Plug-in 1.4 Fatal Error" in the title bar of this message dialog.
I use Win2000.
Search for "1.3.1_01" haven't returned anything.
{8AD9C840-044E-11D1-B3E9-00805F499D93} key mentions only 1.3.1_04 related stuff.
Search for "CAFEEFAC-0014-0000-0000-ABCDEFFEDCBA" have not returned anything.
What can cause the problems?
Thanks in advance!
Alex

David,
Thanks.
There are 2 places in the registry where things can go
wrong when calling a plugin dynamically:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\...
search for 8AD9C840-044E-11D1-B3E9-00805F499D93 in the
registry and cross reference the information with what
is under the JavaSoft key.
Also make sure that the referenced DLL exists at the
location referenced (look at the InProcServer32
keyword).Checked. Everything is correct and pointing to 1.3.1_04 related stuff.
You may also want to consider uninstalling all your
JRE's and then reinstalling them. Did that and it didn't help. I tried both ways, just reinstall (like any Windows application) and install by request.
I tend to think that security issues may be involved, this is within a corporate network.
Thanks,
Alex

Similar Messages

  • How to start an applet offline with JNLP?

    I want my applet to work offline. It uses Java3d and that is why it needs JNLP. I have made sure that it doesn't make any network connections. I have also put the JNLP file that it uses, java3d-latest.jnlp in the same directory as the applet. It finds this jnlp file, but it doesn't find the applet-launcher class. I get "java.lang.ClassNotFoundException: org.jdesktop.applet.util.JNLPAppletLauncher". I try to solve this by putting the applet-launcher.jar in the same directory as the applet, but it still doesn't find the applet-launcher class. What can I do to make the applet start offline?
    I need it to work offline, because I am going to make a screensaver from the applet. This is the applet code in the page:
    <applet code="org.jdesktop.applet.util.JNLPAppletLauncher"
    width=100%
    height=100%
    archive="astrals.jar,
    applet-launcher.jar,
    http://download.java.net/media/java3d/webstart/release/j3d/latest/j3dutils.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">
    <param name="codebase_lookup" value="true">
    <param name="subapplet.classname" value="OrchideaOptM">
    <param name="subapplet.displayname" value="OrchideaOptM">
    <param name="jnlpNumExtensions" value="1">
    <!--<param name="jnlpExtension1" value="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp">-->
    <param name="jnlpExtension1" value="file:/C:/java/3dflower/build/classes/java3d-latest.jnlp">
    <param name="progressbar" value="true">
    <param name="noddraw.check" value="true">
    <shortcut online="false">
    </applet>
    You can view my 3d applets here, they work online:
    http://astral.mobile-visuals.com/3d_visuals.php

    I think you can do that you have to use a combination of javascript and html. use the Onclick event handler to call a java script function let say startApplet and in this function open a new window and write the <html><applet code= width= height=> </applet> </html> in that window and you will be able to start your applet that way.

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • Cannot start JNLP applet on IE 9 64 bits (replicated)

    Hello,
    I made a post on the "Applets" section of the forum, but after further search I think it should have been here, so I leave the link
    Cannot start JNLP applet on IE 9 64 bits
    Ty
    Cad
    To any moderator, feel free to delete this thread and move the one posted above to this section

    1) Make sure you have correct version of JRE installed. Need 32 for 32 bit browser and 64 bit otherwise.
    Check list of installed plugins in IE to see if java plugin is listed.
    2) Make sure java plugin is enabled for IE in the Control Panel.
    If UAC is on then you need to run Java Control Panel as administrator for settings to take effect.
    3) Create small bat file to launch IE:
    set JPI_PLUGIN2_DEBUG=true
    <path-to-ie>\iexplore.exe
    Close IE and launch using this file. Try to open any applet, you should see window with trace log. Does it mention any errors?
    Please paste content here if you need further help.

  • Error starting java applet

    Hi,
    I had an issue on starting the applet on the web browser(either IE or FireFox). The applet loaded and starts well in my colleagues machine(windows 2000 and jdk 1.5.0) but in my local machine, running the same OS and jdk 1.5.0, throws an exception. here is the detail of exception thrown.....
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@1ea0252, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1fc3c84
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    java.lang.NoClassDefFoundError
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    basic: Exception: java.lang.NoClassDefFoundError
    Im tracing the exception using the Java Console in the web browser and set the trace level to 5.
    Any help will be very much appreciated.
    Thanks.

    Don't see what the jre is trying to download (class, jar) and why it is not able to download.
    A Full trace might help you out:
    http://forum.java.sun.com/thread.jspa?threadID=656028

  • My i mac is having trouble at Start up and often makes a clicking sound followed eventually by a folder icon on the screeen that shows a file with a questionmark inside,  Is this a sign that my hard drive is failing?

    My i mac is having trouble at Start up and often makes a clicking sound followed eventually by a folder icon on the screen that shows a file with a question mark inside,  Is this a sign that my hard drive is failing?

    As for the folder with a '?', here is some info that might help:
    https://discussions.apple.com/thread/5201710
    http://support.apple.com/kb/TS2570
    Hopefully you are making regular full backups just in case the hard drive is failing?

  • I am having trouble with my JAVA Applet. It isn't functioning on SAFARI.    It seems to have stopped working and I used it on SAFARI last year. Any suggestions ?

    I am having trouble with my JAVA Applet. It isn't functioning on SAFARI.    It seems to have stopped working and I used it on SAFARI last year. Any suggestions?

    Post in the Safari forum area.

  • Having trouble getting started with my new shuffle

    I am having trouble getting started with my new shuffle. any help?

    Hey there Feisty59,
    It sounds like you have a new iPod Shuffle, and want to know how to start using it. Here is a great resource for understanding how to use your iPod, and how to set it up and get music synced to it from iTunes:
    iPod shuffle User Guide
    http://manuals.info.apple.com/MANUALS/1000/MA1550/en_US/iPod_shuffle_4thgen_User _Guide.pdf
    If you have a different model of iPod Shuffle, choose yours from the following page and use that guide instead:
    Apple - Support - Manuals
    http://support.apple.com/manuals/#ipodshuffle
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

  • Having trouble with my signed applet(if it's properly signed that is)

    hi
    I'm having trouble with my supposedly signed applet. I'm trying to execute a specific program in this case trilian from my browser. i'm using firefox
    first my java code
    package applet;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class RunApplet extends JApplet {
        JButton jButton = new JButton();
        FlowLayout flowLayout1 = new FlowLayout();
        public RunApplet() {
            try {
                init();
            } catch (Exception ex) {
                ex.printStackTrace();
        private void init() throws Exception {
            try {
                this.getContentPane().setLayout(flowLayout1);
                this.setSize(new Dimension(100, 200));
                jButton.setText("Trillian");
                jButton.addActionListener(new RunApplet_jButton_actionAdapter(this,
                        "\"C:\\Program Files\\Trillian\\trillian.exe\""));
                this.getContentPane().add(jButton, null);
            } catch (Exception e) {
                e.printStackTrace();
    class RunApplet_jButton_actionAdapter implements ActionListener {
        private RunApplet adaptee;
        private String programPath;
        RunApplet_jButton_actionAdapter(RunApplet adaptee, String programPath) {
            this.adaptee = adaptee;
            this.programPath = programPath;
        public void actionPerformed(ActionEvent e) {
            try {
                Runtime.getRuntime().exec(this.programPath);
            } catch (IOException ex) {
    }And my applet code
    <html>
    <body>
    <!--"CONVERTED_APPLET"-->
    <!-- HTML CONVERTER -->
    <object
        classid = "clsid:CAFEEFAC-0015-0000-0005-ABCDEFFEDCBA"
        codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5_0_05-windows-i586.cab#Version=5,0,50,5"
        >
        <PARAM NAME = CODE VALUE = "applet.RunApplet.class" >
        <PARAM NAME = ARCHIVE VALUE = "myfile.jar" >
        <param name = "type" value = "application/x-java-applet;jpi-version=1.5.0_05">
        <param name = "scriptable" value = "false">
        <comment>
         <embed
                type = "application/x-java-applet;jpi-version=1.5.0_05" \
                CODE = "applet.RunApplet.class" \
                ARCHIVE = "myfile.jar"
             scriptable = false
             pluginspage = "http://java.sun.com/products/plugin/index.html#download">
             <noembed>
                </noembed>
         </embed>
        </comment>
    </object>
    <!--
    <applet CODE = "applet.RunApplet.class" ARCHIVE = "myfile.jar">
    </applet>
    -->
    <!--"END_CONVERTED_APPLET"-->
    </body>
    </html>Creating my key:
    keytool -genkey -alias sitekey -keystore "C:\Program Files\Java\jdk1.5.0_05\jre\lib\security\cacerts"Now the process of creating the jar file and signing it:
    1. jar cf myfile.jar *.class
    2. jarsigner -keystore "C:\Program Files\Java\
    jdk1.5.0_05\jre\lib\security\cacerts" myfile.jar sitekeyNow this is the way i've been using then and the first time i get the "do you want to trust" screen but still i get a security exception.
    Exception in thread "AWT-EventQueue-10" java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkExec(Unknown Source)
         at java.lang.ProcessBuilder.start(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at java.lang.Runtime.exec(Unknown Source)
         at applet.RunApplet_jButton_actionAdapter.actionPerformed(RunApplet.java:73)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)Is there anybody who have an idea what can be wrong?
    regards
    thallish

    ok i solved i myself. i assigned a different and thereby correct keystore and now it works like it should
    regards
    thallish

  • Java Applet HelloWorld "Getting Started With Applets" example not working

    Hi there,
    It's been ages since I ran my Linux CentOS boot of Linux but I am going through the official oracle java applet tutorials, just every time I try and run the "Hello World" applet in Firefox 17.0.3 and I am running the Iced Tea thing for java applets.
    Every time I try and run the example from the following code:
    import javax.swing.JApplet;
    import javax.swing.SwingUtilities;
    import javax.swing.JLabel;
    public class HelloWorld extends JApplet
      // called when the user enters the html page:
      public void init() // keep apps within the init() function very small as per the http://docs.oracle.com/javase/tutorial/deployment/applet/appletMethods.html
        try{
          SwingUtilities.invokeAndWait(new Runnable()
            public void run()
           JLabel myLabel = new JLabel("Hello World");
           add(myLabel);
            } // end running the application
          }); //end of swing invokeand wait
        } catch (Exception error){ // end user running the app in page
           // System.err.println("GUI didn't work on initial run");
    }It keeps bringing up the error "Start: Applet not initialized" I did google that basic error and from what I found I should consult the JavaConsole, I know the console was removed from the Firefox menu quite a while ago. So went to find a way of loading it using the IcedTea one but it keeps bringing up a load of errors in even trying to run that.
    Is there anyway of sorting this out? I mean I have even tried installing the one on the oracle website, the plain JDK but nothing seems to work.
    Is there anyone that can help me get applets working? I was even going to go as far as to reinstall my distro but I want to avoid that as much as possible.
    Thanks and I look forward to any replies,
    Jeremy.

    in the Getting Started with Java DB tutorial they
    tell u how to set ur "DERBY_HOME" (what is that?).
    once i press enter after typing this command:
    set DERBY_HOME=D:\Java\Java
    Phonebook\javadb in my command prompt do i get
    any message or does it just go to the next line?type env or set or whatever in the command line to see what your environment variables are set to
    they also tell u how to set ur "JAVA_HOME" (what is
    that?). The Java installation you want to use
    in their example they give u this: set
    JAVA_HOME=C:\Program Files\Java\j2se1.4.2_05but in my java folder i have jdk1.6.0 and jre1.6.0
    but no j2se1.4.2_05, so which 1 must i choose?It's up to you. I'd go with 1.6
    also once ive done this: set
    DERBY_HOME=D:\Java\Java Phonebook\javadb this
    set JAVA_HOME=D:\Program
    Files\Java\jre1.6.0 and this set
    PATH=%DERBY_HOME%\bin;%PATH% and then type
    sysinfo to verify that the variables were set
    correctly i get these errors: 'D:\Java\Java' is
    not recognized as an internal or external command,
    operable program or batch file and '""'
    is not recognized as an internal or external command,
    operable program or batch file any help would
    really be appreciated because this is really killing
    me!you need to set your path variable - so something like:
    set PATH=C:\Program Files\Java\j2se1.4.2_05\bin

  • Starting Java Applet Slowly

    Hi Folks,
    I have problem with my application.
    user Oracle Developer Suite 10g
    file server use Win XP SP 2.
    sometimes java applet start slowly in several client but quickly in other time.
    sometimes form runs slowly but sometimes very quick.
    in service, report server are started but when user run report to the that report server error "unabled to connect to the report server....".
    What's the solution for my problem ?
    i did re-install oracle developer and win xp but the problem still not solved.
    Thanks in advance...

    Dear Ronald,
    Are the slow and fast clients running against the same middle tier?
    Yes
    Are there hardware differences between the clients? - disks?, graphics cards? processor?
    Software differences on the clients?
    No, all clients same in hardware, disk, graphics cards, processor and software.
    Are the slow/fast clients on different networks?
    Yes.
    for a while when that problem appears, i do restart the form server
    or re-install oracle jinitiator on clients.
    Regards
    Grant Ronald

  • Cannot start JNLP applet on IE 9 64 bits

    Hello,
    I have an Applet that launches using JNLP with version control and compression activated.
    The Java VM correctly starts and launches the applet in all platforms: Linux, Mac, Windows 7 32 bits in all browsers, and Windows 7 64 bits in all browsers except IE 9. In IE 9, the VM doesn't even start (or it's too fast for me to see the console).
    Has any one experienced this before?
    Thank you
    Cad
    Edit I am using Tomcat 7 and Java 1.6.26, both 64 bits
    Edited by: Caden on Jul 13, 2011 9:48 AM

    1) Make sure you have correct version of JRE installed. Need 32 for 32 bit browser and 64 bit otherwise.
    Check list of installed plugins in IE to see if java plugin is listed.
    2) Make sure java plugin is enabled for IE in the Control Panel.
    If UAC is on then you need to run Java Control Panel as administrator for settings to take effect.
    3) Create small bat file to launch IE:
    set JPI_PLUGIN2_DEBUG=true
    <path-to-ie>\iexplore.exe
    Close IE and launch using this file. Try to open any applet, you should see window with trace log. Does it mention any errors?
    Please paste content here if you need further help.

  • Very urgent  !! pls help!! web start for applet vs Japplet..

    this does not work with web start. but if i chnge it to Applet , it works fine..
    Why?
    public class NewJApplet extends javax.swing.JApplet {
       public void paint (java.awt.Graphics g)
         g.drawString ("Hello world!", 45, 30);
         System.out.println ("singhhhHello world!");
    }

    actually it does... there is option you may give in the jnlp that it's not application rather it's an applet. Though it's not highly recommended.
    BTW. i am having another problem .. if anyone know about it...
    In NetBeans IDE 5.5, i have enabled "java Web Start"
    but when ever i tried to run via web start it asks me "please select a main Class" alert.
    what is it.
    thnx

  • Error when starting nm-applet?

    Hey I just reinstalled gnome-networkmanager and when I try to start it from the terminal it comes up with this error
    nm-applet: symbol lookup error: nm-applet: undefined symbol: dbus_method_dispatcher_new
    I was just wondering if anyone knew how to fix this or what may have caused it, thanks.

    Are you using the testing repo with network manager 0.7? I had the same problem with it and dropped everything down to 0.6.6, including libnetworkmanager. It started working again after that.
    -mS

  • Starting an applet with the cursor in a JTextField

    I want the cursor to be flashing in a JTextField when an applet has started. I've tried textField.requestFocus ( ) and textField.grabFocus ( ) with no success. Using J2SDK ver 1.4. Please help!

    Add a ComponentListener to the applet and put the textField.requestFocus() call in the componentShown() method.

Maybe you are looking for