New java plug-in on linux : jnlp applets not working

Hello my dear forum,
Here is (a part of) my configuration :
* Ubuntu 9.04
* Firefox 3.0.13
* Java Plug-in 1.6.0_14 with JRE 1.6.0_14-b08
I couldn't launch jogl applets in firefox with ubuntu since I updated the new plugin. (like this one : https://jogl-demos.dev.java.net/applettest.html)
I get this error :
java.lang.ClassCastException: sun.awt.motif.MToolkit cannot be cast to sun.awt.X11.XToolkit
     at sun.awt.X11.XEmbeddedFrame.addNotify(XEmbeddedFrame.java:53)
     at sun.plugin2.main.client.PluginEmbeddedFrame.addNotify(PluginEmbeddedFrame.java:46)
     at sun.awt.X11.XEmbeddedFrame.<init>(XEmbeddedFrame.java:43)
     at sun.awt.X11.XEmbeddedFrame.<init>(XEmbeddedFrame.java:60)
     at sun.plugin2.main.client.PluginEmbeddedFrame.<init>(PluginEmbeddedFrame.java:37)
     at sun.plugin2.main.client.PluginMain$StartAppletRunner.run(PluginMain.java:927)
     at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
PluginMain: could not create embedded frame
Does this problem have something to do with this one : http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6625747 ?
I would really appreciate if someone can help me.

poupitoupou wrote:
I thought Java was cross-platform, snirf...It is. But if one uses code that relies on a particular platform then all bets are off.
>
I wonder how many people manage to get this applet working on linux :
https://jogl-demos.dev.java.net/applettest.html
I don't know what 'working' means for this. I'm using 1.6.0_15 on Ubuntu 9.04 an all I see is 3 gear wheels that don't move.
>
Listen, you forum-reader, if you are on linux, can you test this applet and tell me if it is working ?Again - what does 'working' mean?

Similar Messages

  • Installing Java 7 from Oracle just made Applets not work, how to fix

    Mac 10.7.4. I tried installing Java 7 from Oracle, but all it did was remove half the prefs from Java and make Applets not work. How do I revert/reinstall Java?

    Here you go!
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • I am on Mac OS 10.6.7 and Java Plug-in 2 for NAPI will not work in FF4.0?

    When trying to attend a webinar which uses the Java 2 NAPI plug-in I get an error message in FF 4.0 saying I need to install thiis plug-in, which is already installed. I have gone to the add-on manager and disabled this plug-in restarted and enabled it again, but it still will not work.
    Any ideas?

    I forgot one detail. This happened while I was having trouble seeing the mouse cursor (I use Apple's Magic Mouse). It had disappeared briefly. I had to drag the cursor out of the Firefox Window for it to reappear. I accidentally entered full screen view while the cursor was not visible.

  • When I boot up my Win7 (64bit) PC, I receive the following error msg "the new Java Plug-In requires a recent version of the Firefox browser" I have reinstalled Firefox3.6.12 several times without any change?

    I have reinstalled the latest JRE twice. Reinstalled Firefox3.6.12 twice but the following error message persists at startup "the new Java Plug-In requires a recent version of the Firefox browser(Firefox 3 or later)"

    I have reinstalled the latest JRE twice. Reinstalled Firefox3.6.12 twice but the following error message persists at startup "the new Java Plug-In requires a recent version of the Firefox browser(Firefox 3 or later)"

  • Java applet not working savevid keepvid

    Hi all,
    I'm sure I'm not the only one who has been confounded by Java applets not working in certain download web services; in my case, keepvid.com and savevid.com to download copies of youtube videos.  It has been a huge headache and even debilitating in my case.  I teach film and video to middle schoolers, and we often use youtube as a resource for our class projects. 
    I found a solution today, I think, and wanted to share it:
    I installed the browser called "Torch" and it seems to work fine, so far.

    thanx 4 replying
    using the browser to view Applet is not recomended that is because if u change the the source-code and recompile the applet then run it using the broswer it will run the old-version
    Also i've found the solution here
    http://www.cs.utah.edu/classes/cs1021/notes/lecture03/eclipse_help.html

  • I have purchased new iphone 3gs, its usb cable and charger not working.When I plugged in usb cable to my laptop it says"usb power hub exceeded". When I use another cable I have, it works fine.But the original one not working.Any help?

    I have purchased new iphone 3gs, its usb cable and charger not working.When I plugged in usb cable to my laptop it says"usb power hub exceeded". When I use another cable I have, it works fine.But the original one not working.Any help?

    Are you connecting your iPhone directly to your PC or to a USB hub?

  • Applet not Working.Why???

    I have written an applet program but it does not work
    It works when i did it as an application.
    I have installed JAVA plug in.The HTML and Applet codes
    are in the same directory as JDK
    The web browser comes up with a grey area & the following messages:
    Exception:java.lang.ClassNotFoundException:testing4.class
    (on the grey area)
    Applet testing4 not loaded (at the bottom of the browser)
    Why is this so?
    The code i have used are as follows:
    HTML CODE
    <html>
    <title>LPC
    </title>
    <applet code="testing4.class"  width=400 height=110>
    </applet>
    </html>APPLET PROGRAM CODE
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    //import java.lang.Object;
    public class testing4 extends JApplet
    { private JTextArea display;
      private JScrollPane scrollPane2;
      private JButton paste;
      private JPanel P2;
      private File fileName;
      public void init()
        paste=new JButton("paste");
        paste.setMinimumSize(new Dimension(90,20));
        paste.setPreferredSize(new Dimension(90,20));
        paste.setMaximumSize(new Dimension(90,20));
        copyhandler pa=new copyhandler();
        paste.addActionListener(pa);
        display=new JTextArea();
        scrollPane2=new JScrollPane(display);
        scrollPane2.setVerticalScrollBarPolicy(
                            JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        scrollPane2.setMinimumSize(new Dimension(200,58));
        scrollPane2.setPreferredSize(new Dimension(200,58));
        scrollPane2.setMaximumSize(new Dimension(200,58));
        P2=new JPanel();
        P2.setMinimumSize(new Dimension(200,80));
        P2.setPreferredSize(new Dimension(200,80));
        P2.setMaximumSize(new Dimension(200,80));
        P2.setLayout(new BoxLayout(P2,BoxLayout.Y_AXIS));
        scrollPane2.setAlignmentX (Component.LEFT_ALIGNMENT);
        P2.add(scrollPane2);
        paste.setAlignmentX(Component.LEFT_ALIGNMENT);
        P2.add(paste);
       Container c=getContentPane();
        c.add(P2);
       //COPIES TEXT FROM FILE ON MY DISK TO THE TEXTAREA
       private class copyhandler implements ActionListener
       { public void actionPerformed(ActionEvent event)
         { JFileChooser fileChooser = new JFileChooser();
           fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY );
           int result = fileChooser.showOpenDialog(testing4.this);
           // user clicked Cancel button on dialog
           if ( result == JFileChooser.CANCEL_OPTION )
             return;
           fileName = fileChooser.getSelectedFile();
           if ( fileName == null ||
              fileName.getName().equals( "" ) )
           JOptionPane.showMessageDialog( null,"Invalid File Name",
                                            "Invalid File Name",
                                          JOptionPane.ERROR_MESSAGE );
           else
           { try
             { FileReader in = new FileReader(fileName);
               BufferedReader reading= new BufferedReader(in);
               String store="";
               while (reading.ready())
               { StringTokenizer st = new StringTokenizer(reading.readLine());
                 store=store+st.nextToken()+"\n";
               display.setText(store);
             catch ( IOException e )
             { JOptionPane.showMessageDialog( null,
                                          "Error Opening File", "Error",
                                          JOptionPane.ERROR_MESSAGE );
      public static void main (String [] args)
      { testing4 done =new testing4();
        JFrame frame = new JFrame("testing");
        frame.addWindowListener(new WindowAdapter()
                                 public void windowClosing(WindowEvent e)
                                   System.exit(0);
        done.init();
        frame.getContentPane().add(done);
        frame.pack();
        frame.setSize(205,110);
        frame.setVisible(true);
    }

    It Still giving a blank page.
    New Code
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.util.*;
    //import java.lang.Object;
    public class testing4 extends JApplet
    { private JTextArea display;
      private JScrollPane scrollPane2;
      private JButton paste;
      private JPanel P2;
      private File fileName;
      public void init()
        paste=new JButton("paste");
        paste.setMinimumSize(new Dimension(90,20));
        paste.setPreferredSize(new Dimension(90,20));
        paste.setMaximumSize(new Dimension(90,20));
        copyhandler pa=new copyhandler();
        paste.addActionListener(pa);
        display=new JTextArea();
        scrollPane2=new JScrollPane(display);
        scrollPane2.setVerticalScrollBarPolicy(
                            JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
        scrollPane2.setMinimumSize(new Dimension(200,58));
        scrollPane2.setPreferredSize(new Dimension(200,58));
        scrollPane2.setMaximumSize(new Dimension(200,58));
        P2=new JPanel();
        P2.setMinimumSize(new Dimension(200,80));
        P2.setPreferredSize(new Dimension(200,80));
        P2.setMaximumSize(new Dimension(200,80));
        P2.setLayout(new BoxLayout(P2,BoxLayout.Y_AXIS));
        scrollPane2.setAlignmentX (Component.LEFT_ALIGNMENT);
        P2.add(scrollPane2);
        paste.setAlignmentX(Component.LEFT_ALIGNMENT);
        P2.add(paste);
       Container c=getContentPane();
        c.add(P2);
       //COPIES TEXT FROM FILE ON MY DISK TO THE TEXTAREA
       private class copyhandler implements ActionListener
       { public void actionPerformed(ActionEvent event)
         { JFileChooser fileChooser = new JFileChooser();
           fileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY );
           int result = fileChooser.showOpenDialog(testing4.this);
           // user clicked Cancel button on dialog
           if ( result == JFileChooser.CANCEL_OPTION )
             return;
           fileName = fileChooser.getSelectedFile();
           if ( fileName == null ||
              fileName.getName().equals( "" ) )
           JOptionPane.showMessageDialog( null,"Invalid File Name",
                                            "Invalid File Name",
                                          JOptionPane.ERROR_MESSAGE );
           else
           { try
             { FileReader in = new FileReader(fileName);
               BufferedReader reading= new BufferedReader(in);
               String store="";
               while (reading.ready())
               { StringTokenizer st = new StringTokenizer(reading.readLine());
                 store=store+st.nextToken()+"\n";
               display.setText(store);
             catch ( IOException e )
             { JOptionPane.showMessageDialog( null,
                                          "Error Opening File", "Error",
                                          JOptionPane.ERROR_MESSAGE );
      public static void main (String [] args)
      { testing4 done =new testing4();
        //you did not set applet's width and height:
        //applet is a container too
        done.setWidth(205);
        done.setHeight(110);
        JFrame frame = new JFrame("testing");
        frame.addWindowListener(new WindowAdapter()
                                  public void windowClosing(WindowEvent e)
                                  { System.exit(0);
        done.init();
        frame.getContentPane().add(done);
        frame.pack();
        frame.setSize(205,110);
        frame.setVisible(true);
    }

  • HT2731 my new apple accont is verfied but it is not working what schould i do now

    my new apple accont is verfied but it is not working what schould i do now

    First thing to try is to connect it to the charger that came with it and plug that into the wall outlet. Let it charge for an hour. Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. If the. Phone starts up continue with the setup procedure.
    If the phone still does respond Make an appointment at an Apple Store to have your device examined by a technician. Or contact Apple Support.

  • My DVR security sofware that I access remotely uses a "dvr .ocx" file....when I try it in Firefox , either the latest non beta (3.6.1.5) or the new beta version (4.0 rc) it will NOT work as it says the plugin is missing... it works in IE 8,but not IE9...

    My machine is Top of the range (my Company builds them so it had better be :) )
    Amd 1100t , 8gb ram , Windows 7 64 bit etc, etc...
    The is not a hardware problem , but a software problem with FF...Any help would be appreciated as I hate using IE 8 for anything at all :( but I have to keep it on my machines just to run my remote security cameras at my Computer shop ???
    Original question...as question length is limited ...not very bright that limit by the way :(
    "My DVR security sofware that I access remotely uses a "dvr .ocx" file....when I try it in Firefox , either the latest non beta (3.6.1.5) or the new beta version (4.0 rc) it will NOT work as it says the plugin is missing... it works in IE 8 (unfortunately) but not IE9...
    As I own a Computer company I am fairly computer literate but cannot find a plugin that allows this to work in Firefox.... but I would have expected it to work in the new Firefox :(
    All the best, Brett :)

    The longer this thread continues, the more ancillary comments you throw in that aren't directly pertinent to your problem with your DVR software not working with Firefox 4.0. Sorry, I don't intend to continue with this discussion.
    I do agree that ''something'' needs to be done better with regards to plugins for Firefox, but I do disagree with you as to whose responsibility that ''something'' is.

  • I just updated to the new software and now my app Store is not working It is just a white blank page

    I just updated the new software and now my app store will not work I have shut it down and opened up again and nothing just a blank white page ?

    I'm having a similar problem.
    New iPad with iOS6 just downloaded.
    I cannot purchase any new items from the new Apple Store now!
    It keeps asking me to fill in CC details, asking for security number, but stays red when i fill in the 3 numerals and when I click done I get a Time Out message.
    This is not good Apple!!
    Looks as if I will have to use my iPad One to purchase from the Apple Store.

  • How can i upgrade my iPhoto 7.1.5 to a newer version? the download 8.02 will not work as i need 8 and that isn't available on download on the site?

    How can i upgrade my iPhoto 7.1.5 to a newer version? the download 8.02 will not work as i need 8 and that isn't available on download on the site?
    Thanks x

    You can upgrade to iPhoto '11 with OS X 10.8.5 by purchasing an iPhoto '11 DVD from Amazon, eBay or other source - or you can upgrade your OS to Mavericks for free if your system meets the requirements and then purchase the upgrade to iPhoto '11 version 9.5.x from the App store - in either case backup first in case of problems
    LN

  • I have a 27" thunderbolt display NOT the iMac, and I'm trying to connect my xbox 360 to it via the Belkin AV360. I plug everything in and it does not work? I check all the power cables and and connections and still not he issue. Iv'e tried C-F2 also. Help

    I have a 27" thunderbolt display NOT the iMac, and I'm trying to connect my xbox 360 to it via the Belkin AV360. I plug everything in and it does not work? I check all the power cables and and connections and still not he issue. Iv'e tried C-F2 also. has anyone used this devive (AV360) on there own 27" thunderbolt display (not the imac) and gotten it to work? If so I'd appreciate the help.

    There are multiple reasons that lead to issue. You should read the troubleshooting guide to get the right solution to solve the issue: iPhone, iPad, or iPod touch not recognized in iTunes for Windows - Apple Support

  • I just bought a brand new iphone 5c and the home button is not working , why is that ?

    I just had a brand new iPhone 5c and the home button is not working , why is that ?

    then contact apple for warranty support or return the phone

  • I upgraded my new ipad with iOS 6 but siri is not working?

    I upgraded my new ipad with iOS 6 but siri is not working?

    Enable Siri
    http://www.todaysiphone.com/2012/09/ios-6-overview-siri-for-ipad-3/

  • Updated my iPhone to new iOS6 and my Memory Loader app does not work!  Is there a fix for the problem as it seems I am not the only one coming across this issue?

    Updated my iPhone to new iOS6 and my Memory Loader app does not work!  Is there a fix for the problem as it seems I am not the only one coming across this issue?

    Other than what you have already done, you should clear the cache from your browser and, if you use it, your Facebook app.  Also, deleting old texts can free up some room.

Maybe you are looking for

  • Photosmart d110 copy/scan & installation problems on Windows 8.1

    I have a few issues with my d110... First, I have successfully gotten it to print from Windows 8.1 but it does nothing else. I tried using the installation disc and the setup screen literally only shows Exit as an option... no install option whatsoev

  • How to search markers in the event browser

    Hi ! I work on long documentaries and I have hours of interview I go through, and I put markers on it. option - M, and a few words describing what the person in saying, so that I can quickly come back to that moment if needed. The thing is that I can

  • Recovered files open in Bridge but not in PS4 or Camera Raw

    My Canon T1i failed with dozens of images on the SD card.  I used DiskInternals Partition Recovery to recover the files from the SD card.  Many of the CR2 images show up fine in Bridge CS4, both the Content thumbnail and the Preview screen. (Screen s

  • Oracle sql query works

    Can any body tell , how the sql select statement will works ? how it will come across the 3 phases 1.pharse 2.execute and 3. fetch what is the parameter in oracle 9i and 10g for compress the dumpfile in export and import?

  • Stuck on the Blackberry ID Agreement screen

    Okay, I see on the internet that a lot of people are stuck on the agreement screen.    As am I. Of course, I can use the browser etc anyway, but what's the deal with this? Thanks! Kev