Gentoo doesn't run a Java (Flash) application but Ubuntu yes

Hello everybody.
I can't find a solution to a Java-Flash-Gentoo related problem.
I would like to run a Java program, using an [external library|http://djproject.sourceforge.net/ns/] , to realize a Java FlashPlayer. This is the code of the player:
package testplayer;
import chrriis.dj.nativeswing.swtimpl.NativeInterface;
import chrriis.dj.nativeswing.swtimpl.components.JFlashPlayer;
import java.awt.BorderLayout;
import java.awt.EventQueue;
import javax.swing.JFrame;
import javax.swing.JPanel;
public class Main implements Runnable {
    public static void main(String[] args) {
        NativeInterface.open();
        EventQueue.invokeLater(new Main());
        NativeInterface.runEventPump();
    public void run() {
        JFlashPlayer player = new JFlashPlayer();
        JPanel panel = new JPanel(new BorderLayout());
        panel.add(player);
        JFrame window = new JFrame("Test");
        window.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
        window.add(panel);
        window.setSize(400, 400);
        window.setVisible(true);
        player.load("http://www.youtube.com/v/XyX-KJwUohw");
}A window should be opened and the youtube video should play as well. Here's what I get on Gentoo Linux.
[http://i.imgur.com/XyYdk.png]
It doesn't find the flash plugin actually, even though it is installed and properly working.
My Gentoo is x86_64 architecture and if I try to run the same application on Ubuntu (x86_64), it works like a charm.
At the moment my www-plugins/adobe-flash USE flags are the following: 64bit -32bit.
Why this piece of code runs on Ubuntu and on Gentoo not????
Could it be something related to some environment variable?
Thanks a lot!

I asked to the mantainers yet actually, but they didn't solve me the problem at the moment.
Perhaps some of you could have an idea of what I am missing on Gentoo.
What I can tell you, is that I tried to run that application on a fresh Debian installation and I've got the same problem.
So this happens because of something that is missing. But what?? :(

Similar Messages

  • Installed Java - Terminal now opens automatically every time I open my computer. I deleted Java 7 application, but now terminal still pops up. Why? How can I get it to stop?

    I installed Java 7. Suddenly, Terminal bounced open every time I logged into my computer after that + the program I needed to run with Java didn't work, so I uninstalled Java 7. I have no Java, but Terminal bounces open - still. It never did before. I need the old version of Java to run my grading program, but I'm afraid to install Java 6 because I don't want anything new to "bounce" in. If I install Java 6 will it get rid of this Terminal application from bouncing in and will the Java 6 work?

    I already looked into that - "open at login" was not checked. Thank you though.

  • I need to sign a java webstart application but Im no coder

    Hi
    I have a java webstart application that was writen for me by a coder that I can no longer contact. I was given all the souce code for the application including an unsigned jar file. What I would like to know is how do I go about getting the application signed by a trusted authority so that the people who use the app for the first time dont get the big ugly warnings. I have no java programing experience at all so any help will be greatly appreciated.
    Regards
    Dean

    Please note that users will still get a message, because signing does not infer trust, it only establishes identity.

  • Get an Exception while running a Java Comm Application...

    Hello,
    I am rakesh.Recently i have downloaded an example for JavaCommAPI.[ BlackBox applet].When i try to run this application it is giving an error that it cannt find the class SerialPort EventListener.I am using java1.3 and java1.4.1 versions.
    Excepecting your answers.
    ... Rakesh

    You didn't put the optional Java Comm JAR in your classpath.

  • New to JEE5 not running  Sun Java System Application Server Platform  9

    Hi! I've downloaded the JEE5 in Windows XP, the installation was fine, I start the server following this
    From the Start menu, Programs => Sun Microsystems => Application Server PE=> Start Default Server.
    and this message appears: Domain domain1 is ready to receive client requests. Additional services are being started in the background.
    but when I confirm that the server is running clicking here:
    http://localhost:8080.
    it's not running.
    I didn't change the default settings in the installation, and I have the PATH variable set to C:\Sun\AppServer\bin.
    But this one does work fine:
    http://localhost:4848/asadmin/admingui/TopFrameset.
    What could be happening?

    What could be happening is that port 8080 has been in use at the time you were installing Java EE SDK and installer selected an alternative HTTP port number for you - if you were not paying close attention to the content of the appropriate installer text box it is rather easy to miss it...
    To check which port is being used, access admin console at
    http://localhost:4848
    and log in. Click "Application Server" on the left side menu and you'll see the list of port numbers used. First port listed under HTTP Port(s) is the one you should use to access your server.

  • How to launch a new JVM to run a Java Servlet application?

    Is there any way of launching an independent JVM to run a Servlet application in Tomcat environment?

    search in google.com
    BrowserLaucher.java

  • One of my dll's in my vi doesn't run with the error "application configuration is incorrect"

    I just installed LV2011 and one dll from my vi won't load with the error "application configuration is incorrect", which is Windows lingo for "missing package dependencies".  All the computers at my company with 2010 loaded seem to do OK.  When I do a Dependencies Walk I get missing Visual C debug dll's missing plus IEshims and wer which both have a whole tree of dependencies missing on my machine.  The Windows install is the same "Windows XP version 2002 Service Pack 3"  So I'm thinking I have to uninstall 2011 and go back to 2010.  Is this correct?  Those VC debug dll's were installed on the machines with 2010 in them but were not installed in mine.
    Thanks in advance.

    Hm,
    it seems that you might have more success in the LabVIEW forum here; this one is for LabWindows/CVI...

  • Problem in run the Java ME application using jar file

    Hi all,
    I am using Eclipse 3.3 with CLDC and MIDP, I add external jar file for my application. The jar contains MIDlet and some classes. I create a class (not MIDlet) that have same package name and Class as in jar file.
    Say for example the jar file have com.Displaytext and My new project have com.Displaytext.
    The problem is my application takes the class file in external jar but my intent is the application class file needs to work.
    I welcome your answers.
    Edited by: chals on Aug 23, 2008 12:24 PM
    Edited by: chals on Aug 23, 2008 12:25 PM
    Edited by: chals on Aug 23, 2008 12:37 PM

    For class loading inside or outside of JAR files I use this code:
    void loadClass (String className) {
        String prefix = "de.test.";
        String postfix = ""; // use this if your classes have a name pattern
        Object o = Class.forName(prefix + className + postfix).newInstance();
    void loadClass (String className, Class[] paramClasses, Object[] params) {
        String prefix = "de.test.";
        String postfix = ""; // use this if your classes have a name pattern
        Object o = Class.forName(prefix + className + postfix).getConstructor(paramsClasses).newInstance(params);
    }

  • Mic doesn't seem to work in applications, but I can hear myself in the Mix

    Hello,
    I have recently done a PC & OS upgrade.
    My previous setup was on WinXp Pro (x86) with an Asus A8R-MVP (S939 with ATI/ULI chipsets) and AMD 3200+ processor. I bought my X-Fi at the same time as these components, and everything was working just fine.
    Now I have upgraded to WinXp Pro x64 and an Asus P5W64 WS Pro (S775 with Intel 975X chipsets) and an Intel e6600 processor. I loaded everything up including a few games and everything seemed just fine.
    ... Until I decided to download TeamSpeak so that I could talk with my guildmates... I could hear them, but they couldn't hear me. The short story is that if I load the Mixer from the systray Volume panel and enable microphone playback, I can hear myself perfectly fine; which should tell me that the Mic & X-fi work.
    ... But if I load Teamspeak, Windows Sound Recorder, Creative's WaveStudio, etc... (anything that records), it's as if I'm muted as there is nothing there... silence.
    I have tried the MSCONFIG "selecti've startup" method to uninstall and reinstall my driver CD and latest driver patch... I have downloaded and installed the latest April 2007 DirectX, I have double checked that the Mic is the selected recording source (+20db and cranked)... all with no success.
    It's obvious that alot has changed around the X-FI (OS, mobo & CPU) but the problem seems to be a "software"/driver one... I'd almost have preferred that the Mixer wouldn't have let me hear my voice at all... then I could have nominated the Mic as the problem... but the mixer proves it to be good.
    Why is the Mixer the only application that knows that there is sound on the mic channel to deal with?

    unbelievable... the amount of RAM is the issue... I found a post (http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=8448) on an unrelated matter, but the user solved their issue under X64 by limiting the amount of RAM WinXP x64 was using by editing the boot.ini file.
    The basis of the "trick" is to add " /maxmem=4096" to the end of your OS line, but I elected to copy the line and add it to a new entry so I could easily select which "mode" i wanted at boot.... like so...
    multi(0)disk(0)rdisk(0)partition()\WINDOWS="Window s XP Professional x64 Edition" /noexecute=optin /fastdetect
    multi(0)disk(0)rdisk(0)partition()\WINDOWS="Window s XP Professional x64 Edition - X-Fi tweak" /noexecute=optin /fastdetect /maxmem=4096
    amazingly this solved my issue... but now my system properties only report 2Gb instead of 4Gb... unacceptable!
    When Can I expect a fix for this Creative?

  • Photoshop CS5 3D Doesn't allow Open GL/GPU application but PS CS4 Does

    MIcrosoft Vista Home Premium
    x-64 based PC
    Intel(R) Core(TM)2 Quad  CPU   Q8200  @ 2.33GHz, 2333 Mhz, 4 Core(s), 4 Logical Processor(s)
    8 GB RAM
    NVIDIA GeForce 9500 GS
    Adapter RAM 512
    Photoshop extended cs5
    I am able to use all GL/GPU accelerated functions (3D, rotate, scrubbz zoon etc.) in CS4.
    However, with CS5 I cannot utilize the 3D functions (Repousse, etc.). I can use the other accelerated
    GPU functions.
    Any suggestions.

    Any suggestions.
    Buy a new graphics card! The GS series were trimmed down versions of other models, so naturalyl they may not provide the necessary performace to enable the 3D stuff.
    Mylenium

  • UI problem when run java swing application on MAC OSX

    Hello,
    I have problem when i run my java swing application on MAC OSX.
    Dialog box is not properly visible in MAC means ita size increses.
    its size incresed and and some content or buttons on that dialog are not fully visible.
    I can only see partial message or button.
    If any one have idea about this problem then give the solution.
    Thanks :)
    Shweta

    I am using following way to create dialog
    JOptionPane optionpane = new JOptionPane(new Object[]{lblMsgUp}, JOptionPane.OK_CANCEL_OPTION, JOptionPane.INFORMATION_MESSAGE, null, choices, "Save");
    JDialog dialog = optionpane.createDialog(parent, "Save");
    dialog.setSize(450, 125);
    dialog.setVisible(true);

  • SSO java sample application problem

    Hi all,
    I am trying to run the SSO java sample application, but am experiencing a problem:
    When I request the papp.jsp page I end up in an infinte loop, caught between papp.jsp and ssosignon.jsp.
    An earlier thread in this forum discussed the same problem, guessing that the cookie handling was the problem. This thread recommended a particlar servlet , ShowCookie, for inspecting the cookies for the current session.
    I have installed this cookie on the server, but don't see anything but one cookie, JSESSIONID.
    At present I am running the jsp sample app on a Tomcat server, while Oracle 9iAS with sso and portal is running on another machine on the LAN.
    The configuration of the SSO sample application is as follows:
    Cut from SSOEnablerJspBean.java:
    // Listener token for this partner application name
    private static String m_listenerToken = "wmli007251:8080";
    // Partner application session cookie name
    private static String m_cookieName = "SSO_PAPP_JSP_ID";
    // Partner application session domain
    private static String m_cookieDomain = "wmli007251:8080/";
    // Partner application session path scope
    private static String m_cookiePath = "/";
    // Host name of the database
    private static String m_dbHostName = "wmsi001370";
    // Port for database
    private static String m_dbPort = "1521";
    // Sehema name
    private static String m_dbSchemaName = "testpartnerapp";
    // Schema password
    private static String m_dbSchemaPasswd = "testpartnerapp";
    // Database SID name
    private static String m_dbSID = "IASDB.WMDATA.DK";
    // Requested URL (User requested page)
    private static String m_requestUrl = "http://wmli007251:8080/testsso/papp.jsp";
    // Cancel URL(Home page for this application which don't require authentication)
    private static String m_cancelUrl = "http://wmli007251:8080/testsso/fejl.html";
    Values specified in the Oracle Portal partner app administration page:
         ID: 1326
         Token: O87JOE971326
         Encryption key: 67854625C8B9BE96
         Logon-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_login
         single signoff-URL: http://wmsi001370:7777/pls/orasso/orasso.wwsso_app_admin.ls_logout
         Name: testsso
         Start-URL: http://wmli007251:8080/testsso/
         Succes-URL: http://wmli007251:8080/testsso/ssosignon.jsp
         Log off-URL: http://wmli007251:8080/testsso/papplogoff.jsp
    Finally I have specified the cookie version to be v1.0 when running the regapp.sql script. Other parameters for this script are copied from the values specified above.
    Unfortunately the discussion in the earlier thread did not go any further but to recognize the cookieproblem, so I am now looking for help to move further on from here.
    Any ideas will be greatly appreciated!
    /Mads

    Pierre - When you work on the sample application, you should test the pages in a separate browser instance. Don't use the Run Page links from the Builder. The sample app has a different authentication scheme from that used in the development environment so it'll work better for you to use a separate development browser from the application testing browser. In the testing browser, to request the page you just modified, login to the application, then change the page ID in the URL. Then put some navigation controls into the application so you can run your page more easily by clicking links from other pages.
    Scott

  • Itra  run the  adobe flas 5c but the  systen nes  adobe legacy Java SE 6 bft  some one can helpmet

    I tray  run the  adobe flash 5c but the  systen ned  adobe legacy Java SE 6 bft  some one can help me

    Apple Java 2014-001

  • How to launch a Java WebStart application with older JREs when Java 7u25 is on the client?

    How can I launch older versions of my Java WebStart application, that are built and run with Java 7u21 or earlier, even if Java 7u25 is installed locally on the client? Application launch and behaviour must be reliable and consistent.
    Background:
    As of 7u25 (and later), Java Webstart applications launch with a different class loader than pre-7u25.
    My Java Webstart application has supported versions that were built with older versions of the JDK (e.g. Java 5, 6, 7u21 or earlier). These applications run with their required JRE version, enforced through JNLP. Once Java 7u25 is installed locally, these older applications fail to launch, due to classloader differences.
    The question is: what is required to run older Java WebStart applications even if 7u25 (or later) Java Webstart is installed locally on the client?

    I confirm your findings when using shortcuts to try specific versions of JavaWS with 7u25 or later installed:
    JRE 5u14 launched and the classloader was as pre 7u25
    JRE 6u43 would not launch
    JRE 7u21 launched but the classloader was not as pre 7u25
    You can launch the shortcut with the JavaWS -verbose option to display a messagebox with valuable information.
    I am keeping a close watch on this thread.

  • Can I run a Java based app on an IPAD2 like JMRI Decoder-Pro?

    I have an IPAD2 64GB Wi-Fi+3G. Can I run a JAVA based application known as JMRI Decoder-Pro? It is a Model Railroad suite of control applications that are JAVA based which provide online Train and alyout control via IPHONEs, Droids, Macs etc.

    Hi,
    I don't have an iPad.
    You have posted in the iChat Forum Community.
    iChat does not run on an iPad.
    (ergo: I know nothing).
    Try posting here  (top level of iPad's area)
    8:53 PM      Thursday; June 16, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.7)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

Maybe you are looking for

  • Internal hard drive/repair: SMART status; Disk Utility, Tech Tool & More

    machine: 12" PowerBook 1.5 GHz PowerPC G4 (Aluminium) with 80GB internal HD internal hard drive (original): Hitachi Travelstar 5K100 series HTS541080G9AT00 hard drive firmware: MB4AA5AJ ATA version: 6 ATA standard: ATA/ATAPI-6 T13 1410D revision 3a I

  • N95 8gb BT Connection Problem With BMW 5 series

    Hello everyone, I hope someone could help me with this. I just got my N95 8 gb & I have tried to connect my phone to my BMW58610 BT but it seems like it constanly drop ny itself & then coneecting again & drop & connect. I do not know how to get this

  • Applet Stuck

    ... I am developing a client/server arch that connects to the database using jdbc. ... My application connects to the oracle database using jdbc....And the applet connects to the application using sockets........ When the applet is loaded to the intr

  • Firmware

    Does anybody know when a firmware update for the macbook will come out ??? I heard that the macbook pro got one and it helped with the heat issue

  • Where can find the site for firmware download?

    We plant to upgrade our firmware, and I am looking the site for firmware download.