Problem running Java GUI apps in Linux

When launching GUI Java apps a blank window with only a title appears and nothing more happens. Have no idea of how to deal with it..
pvs@pvs-laptop:~$ uname -a
Linux pvs-laptop 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
pvs@pvs-laptop:~$ java -version
java version "1.5.0_14"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03)
Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode)

Try wrapping the code that actually displays the GUI in a SwingUtilities.invokeLater (...)
db

Similar Messages

  • Font problems running a swing app under Linux

    I have an application running well under the Win family (NT, 2000, etc.)... and it also runs well under a Linux Red Hat os... but in the linux environment I've observed the folloowing font errors displayed in the screen:
    Font specified in font.properties not found [--symbol-medium-r-normal--*-%d-*-*-p-*-adobe-fontspecific]
    this is a unexpected issue because I'm not setting any font in my code... How can I solve it ?
    It's a Java or OS configuration problem ??

    Here is a solution:-
    Copy SYMBOL.TTF to /usr/java/jdk1.3.1_01/jre/lib/fonts or wherever.
    Note the copy should have lower case name!
    Do a chmod 444 symbol.ttf
    I don't say where to get a copy from but you can imagine!!
    Modify the file fonts.dir in the same directory as follows:
    Change the first line by 1 ie if its 72 change to 73.
    Insert the following line:
    symbol.ttf -monotype-symbol-medium-r-normal--0-0-0-0-p-0-abode-fontspecific
    You have to do the above as root of course.

  • All java GUI apps suddenly never repaint

    This isn't really a programming question, but I've had a hell of a time finding help resources elsewhere (Sun's got the balls to charge money for the support document that will most likely help me!). Does anyone know anything about what might cause all Java GUI apps to never repaint? I just installed the Java 1.5 update 4 JRE & JDK, I'm running Windows XP SP2, and I have dual monitors, although turning the second one off (via the control panel) doesn't seem to help.
    Neither my own software nor commercial software will work (even NetBeans). They all load an empty JFrame, or paint themselves once and never again. Console apps seem to work just fine, though. If anyone knows how to fix this, has any suggestions on what I should try, or can tell me where to look for a solution, I'd be very grateful.
    Thanks,
    Tim

    I appreciate the help, and maybe I'm not following you, but this is happening for ALL Java GUI apps, even NetBeans itself won't repaint. Not sure how I have control over NetBeans's UI thread?
    Thanks
    Tim

  • How can I run a gui app from an su shell?

    Hello,
    I login to my mac as a non-admin account.  I then open a terminal and su to my admin account for anything requiring it.  I am trying to run a gui app from the terminal window, but get this error, and the app does not open:
    $ /usr/local/bin/wireshark
    2011-08-14 06:54:29.327 defaults[18406:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleAquaColorVariant) does not exist
    2011-08-14 06:54:29.346 defaults[18407:903]
    The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor) does not exist
    ./sync_osx_look.sh: line 40: gtkrc: Permission denied
    (process:18396): Gdk-WARNING **: locale not supported by C library
    (wireshark-bin:18396): Gtk-WARNING **: Locale not supported by C library.
              Using the fallback 'C' locale.
    (wireshark-bin:18396): Gtk-WARNING **: cannot open display:
    I know I can "switch user" but this is cumbersome as it requires typing a password each time, and I need to have applications side-by-side for easy access and testing.  Any thoughts?
    Thanks.

    I use LaunchAsRoot to run GUI apps as the root user, while logged in to my admin account.
    Another way is to use Applescript.  Here's what I do to run Console as root:
    do shell script "/Applications/Utilities/Console.app/Contents/MacOS/Console > /dev/null 2>&1 &" with administrator privileges

  • Problem running java applications on Mac Mini.

    Hi all.
    I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
    I downloaded and reinstalled java from Oracle website, but the problem remains unsolve.
    Anyone can help me?
    Thanks in advance.
    Carlos.

    azofra1 wrote:
    Hi all.
    I have a Mac Mini. Days ago, I started having problems running java applications. Right now, I can not run any java application or even a plugin into a web page.
    What error indications do you get? You have to enable error logging in the Java Control Panel to see the details.

  • Running java swing apps thru telnet... [Is this possible?]

    Hi All!
    I am just wandering if it is possible to run swing applications thru telnet since everytime I run it... it returns ang error....
    Exception in thread "main" java.lang.NoClassDefFoundError: sun/awt/X11GraphicsEnvironment
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:173)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:90)
    at at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:109).null(Unknown Source)
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:173)
    at java.awt.Toolkit$2.run(Toolkit.java:754)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:745)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:226)
    at javax.swing.LookAndFeel$1.createValue(LookAndFeel.java:295)
    at javax.swing.UIDefaults.getFromHashtable(UIDefaults.java:203)
    at javax.swing.UIDefaults.get(UIDefaults.java:148)
    at javax.swing.MultiUIDefaults.get(MultiUIDefaults.java:65)
    at javax.swing.UIDefaults.getIcon(UIDefaults.java:429)
    at javax.swing.UIManager.getIcon(UIManager.java:562)
    at javax.swing.plaf.basic.BasicOptionPaneUI.getIconForType(BasicOptionPaneUI.java:600)
    at javax.swing.plaf.basic.BasicOptionPaneUI.getIcon(BasicOptionPaneUI.java:586)
    at javax.swing.plaf.basic.BasicOptionPaneUI.createMessageArea(BasicOptionPaneUI.java:337)
    at javax.swing.plaf.basic.BasicOptionPaneUI.installComponents(BasicOptionPaneUI.java:178)
    at javax.swing.plaf.basic.BasicOptionPaneUI.installUI(BasicOptionPaneUI.java:146)
    at javax.swing.JComponent.setUI(JComponent.java:475)
    at javax.swing.JOptionPane.setUI(JOptionPane.java:1725)
    at javax.swing.JOptionPane.updateUI(JOptionPane.java:1747)
    at javax.swing.JOptionPane.<init>(JOptionPane.java:1710)
    at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:832)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:646)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:617)
    at JTest.main(JTest.java:40)
    Source Code:
    import javax.swing.*;
    import java.awt.*;
    public class JTest extends JFrame{
    JPanel pnlMain = new JPanel();
    JLabel lblMsg=new JLabel("This is only a test.");
    Font font=new Font("Arial", Font.BOLD, 28);
    public JTest(){
    try{
    this.setTitle("Unix Frame Testing");
    this.setBounds(10,10,500,100);
    this.setVisible(true);
    this.setDefaultCloseOperation(this.EXIT_ON_CLOSE);
    lblMsg.setFont(font);
    lblMsg.setBounds(100,10,250,50);                    
    pnlMain.setLayout(null);
    pnlMain.add(lblMsg);
    this.setContentPane(pnlMain);
    }catch(Exception e)
    { System.out.println("Unable to Display Window.");
    JOptionPane.showMessageDialog(null,"Unable to Display Window.","Error",JOptionPane.INFORMATION_MESSAGE);
    System.exit(0);
    public static void main(String args[]){
    JTest test=new JTest();
    }

    "scripts" are entirely different from GUI applications. What do you expect to happen when you run a Swing application through telnet on another machine? Do you expect the Swing UI to be magically transported to the local Windows machine?
    Not gonna happen. Yes, like ejp hinted, you could run an X-environment on your local machine and have the Swing UI tunnel its output there, but are you sure you want GUI apps to run on a remote machine like that? It's not gonna be fun to work with, I'll tell you that.
    Why not create a Java WebStart app (or perhaps even an applet) out of your application, so your users can run the application locally?

  • Problem running third party apps in clean installed mavericks HELP....Consol code knowledge needed!

    Yo Guys
    I've had some kernel problems with my mid2010 MBP, problems booting, crashes etc. so decided to make a clean install of mavericks, first through the recovery partion, later at the genius bar (they coudnt help me and blamed my toshiba HD (not generic mac) allthough i strongly doubt its the HD since it has passed every test.
    still i've no thirdparty apps installed, so when after the clean install i tried to install spotify, it hangs(keeps bouncing in dock), same goes for transmission. This happens the same before and after my clean install, but didnt two weeks ago...WEIRD!
    What makes it all weirder is that the spotify install will run and install in safe boot, but it doesnt in normal mode.....
    I can add a etrecheck but since its only a mevericks install you guys could guess the results, everything tests perfect......Its like i've MBP with a burnout, no doctor or app or diagnositc can find any flaw, geniusses arent so genius when behind my laptop, but it behaves very ill.....all&all its just super weird.
    I hope some of you guys are able to read the code in consol, and maybe shine a light on whats wrong. I see some problem occuring the Kernel mach and libsystem_kernel.dylib) and (libsystem_pthread.dylib) still i've no idea how to fix or what it means...
    this is the log of transmission, which usually just runs inside its app.
    Date/Time:       2014-03-19 09:20:22 +0100
    OS Version:      10.9.2 (Build 13C64)
    Architecture:    x86_64
    Report Version:  18
    Command:         Transmission
    Path:            /Applications/Transmission.app/Contents/MacOS/Transmission
    Version:         2.82 (14160)
    Parent:          launchd [156]
    PID:             440
    Event:           hang
    Duration:        1.97s (process was unresponsive for 21 seconds before sampling)
    Steps:           20 (100ms sampling interval)
    Hardware model:  MacBookPro6,2
    Active cpus:     4
    Fan speed:       1999 rpm
    Free pages:      156876 pages (+1491)
    Pageins:         0 pages
    Pageouts:        0 pages
    Swapins:         0 pages
    Swapouts:        0 pages
    Process:         Transmission [440]
    Path:            /Applications/Transmission.app/Contents/MacOS/Transmission
    Architecture:    x86_64
    Parent:          launchd [156]
    UID:             501
    Task size:       11271 pages (+2)
    CPU Time:        0.003s
    Importance:      Donating
    IO Policy:       Standard
    Note:            Unresponsive for 21 seconds before sampling
      Thread 0x3779     DispatchQueue 1          priority 47       
      20 ??? (Transmission + 5892) [0x100001704]
        20 ??? (Transmission + 6582) [0x1000019b6]
          20 NSApplicationMain + 448 (AppKit) [0x7fff8541c727]
            20 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 357 (AppKit) [0x7fff854208db]
              20 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 197 (AppKit) [0x7fff85420aec]
                20 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 288 (AppKit) [0x7fff85420cfc]
                  20 loadNib + 327 (AppKit) [0x7fff8542175e]
                    20 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1157 (AppKit) [0x7fff8542cc8d]
                      20 -[NSSet makeObjectsPerformSelector:] + 201 (CoreFoundation) [0x7fff8688a549]
                        20 ??? (Transmission + 15619) [0x100003d03]
                          20 -[NSWindow makeKeyAndOrderFront:] + 51 (AppKit) [0x7fff8557f7d6]
                            20 -[NSWindow orderWindow:relativeTo:] + 162 (AppKit) [0x7fff8558e220]
                              20 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 786 (AppKit) [0x7fff8558e5a0]
                                20 -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 1972 (AppKit) [0x7fff8558eff6]
                                  20 -[NSView displayIfNeeded] + 1680 (AppKit) [0x7fff8557542a]
                                    20 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 2828 (AppKit) [0x7fff85595fbf]
                                      20 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 314 (AppKit) [0x7fff85598fd1]
                                        20 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectFor View:topView:] + 841 (AppKit) [0x7fff85599826]
                                          20 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787 (AppKit) [0x7fff8559bdc0]
                                            20 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2787 (AppKit) [0x7fff8559bdc0]
                                              20 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1799 (AppKit) [0x7fff8559b9e4]
                                                20 -[NSScrollView _drawRect:clip:] + 78 (AppKit) [0x7fff8567fca9]
                                                  20 -[NSView _drawRect:clip:] + 422 (AppKit) [0x7fff8559c471]
                                                    20 -[NSView(NSLayerKitGlue) _drawRectAsLayerTree:] + 670 (AppKit) [0x7fff8559d7c1]
                                                      20 CAViewDraw + 54 (QuartzCore) [0x7fff8efaeeb0]
                                                        20 __psynch_mutexwait + 10 (libsystem_kernel.dylib) [0x7fff897db746]
                                                         *20 psynch_mtxcontinue + 0 (pthread) [0xffffff7f80b75a3b]
      Thread 0x37d1     DispatchQueue 2          priority 49       
      20 _dispatch_mgr_thread + 52 (libdispatch.dylib) [0x7fff85103152]
        20 kevent64 + 10 (libsystem_kernel.dylib) [0x7fff897dc662]
         *20 ??? (mach_kernel + 3949760) [0xffffff80005c44c0]
      Thread 0x37e2     priority 47         cpu time   0.003s
      20 thread_start + 13 (libsystem_pthread.dylib) [0x7fff8dcb7fc9]
        20 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8dcb372a]
          20 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff8dcb3899]
            20 __NSThread__main__ + 1318 (Foundation) [0x7fff893f476b]
              20 -[NSUIHeartBeat _heartBeatThread:] + 2132 (AppKit) [0x7fff856a221d]
                20 usleep + 54 (libsystem_c.dylib) [0x7fff84120cb2]
                  20 __semwait_signal + 10 (libsystem_kernel.dylib) [0x7fff897dba3a]
                   *20 semaphore_wait_continue + 0 (mach_kernel) [0xffffff800023b5a0]
      Thread 0x37e4     priority 47       
      20 thread_start + 13 (libsystem_pthread.dylib) [0x7fff8dcb7fc9]
        20 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8dcb372a]
          20 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff8dcb3899]
            20 ??? (Transmission + 431943) [0x100069747]
              20 ??? (Transmission + 460794) [0x1000707fa]
                20 ??? (Transmission + 650671) [0x10009edaf]
                  20 kevent + 10 (libsystem_kernel.dylib) [0x7fff897dc64a]
                   *20 ??? (mach_kernel + 3949760) [0xffffff80005c44c0]
      Thread 0x37e5     priority 47       
      20 thread_start + 13 (libsystem_pthread.dylib) [0x7fff8dcb7fc9]
        20 _pthread_start + 137 (libsystem_pthread.dylib) [0x7fff8dcb372a]
          20 _pthread_body + 138 (libsystem_pthread.dylib) [0x7fff8dcb3899]
            20 ??? (Transmission + 431943) [0x100069747]
              20 ??? (Transmission + 545880) [0x100085458]
                20 ??? (Transmission + 549400) [0x100086218]
                  20 ??? (Transmission + 366126) [0x10005962e]
                    20 __semwait_signal + 10 (libsystem_kernel.dylib) [0x7fff897dba3a]
                     *20 semaphore_wait_continue + 0 (mach_kernel) [0xffffff800023b5a0]
    This is the log of the Spotify hang, which installs through a installer.....
    Date/Time:       2014-03-19 09:17:16 +0100
    OS Version:      10.9.2 (Build 13C64)
    Architecture:    x86_64
    Report Version:  18
    Command:         Spotify
    Path:            Spotify.app/Contents/MacOS/Spotify
    Version:         ??? (???)
    Parent:          bash [385]
    Responsible:     Install Spotify [368]
    PID:             387
    Event:           hang
    Duration:        3.47s (process was unresponsive for 24 seconds before sampling)
    Steps:           33 (100ms sampling interval)
    Hardware model:  MacBookPro6,2
    Active cpus:     4
    Fan speed:       1994 rpm
    Free pages:      46388 pages (-1678)
    Pageins:         10 pages
    Pageouts:        0 pages
    Swapins:         0 pages
    Swapouts:        0 pages
    Process:         Spotify [387]
    Path:            Spotify.app/Contents/MacOS/Spotify
    Architecture:    i386
    Parent:          bash [385]
    Responsible:     Install Spotify [368]
    UID:             501
    Task size:       6271 pages
    Note:            Unresponsive for 24 seconds before sampling
      Thread 0x2f09     priority 57       
      33 ??? (Spotify + 33269) [0x91f5]
        33 ??? (Spotify + 62620) [0x1049c]
          33 ??? (Spotify + 1346690) [0x149c82]
            33 ??? (Spotify + 1347795) [0x14a0d3]
              33 ??? (Spotify + 302663) [0x4ae47]
                33 ??? (Spotify + 5056946) [0x4d39b2]
                  33 ??? (libcef.dylib + 9832) [0x5b5f668]
                    33 ??? (libcef.dylib + 34570767) [0x7c5520f]
                      33 ??? (libcef.dylib + 34572176) [0x7c55790]
                        33 ??? (libcef.dylib + 35281217) [0x7d02941]
                          33 ??? (libcef.dylib + 35277575) [0x7d01b07]
                            33 ??? (libcef.dylib + 34878617) [0x7ca0499]
                              33 ??? (libcef.dylib + 18343636) [0x6cdb6d4]
                                33 ??? (libcef.dylib + 18336291) [0x6cd9a23]
                                  33 ??? (libcef.dylib + 18337894) [0x6cda066]
                                    33 ??? (libcef.dylib + 18927361) [0x6d69f01]
                                      33 ??? (libcef.dylib + 18939243) [0x6d6cd6b]
                                        33 ??? (libcef.dylib + 18930022) [0x6d6a966]
                                          33 ??? (libcef.dylib + 18937985) [0x6d6c881]
                                            33 ??? (libcef.dylib + 36711472) [0x7e5fc30]
                                              33 CGLChoosePixelFormat + 117 (OpenGL) [0x98906019]
                                                33 ??? (OpenGL + 39344) [0x989069b0]
                                                  33 ??? (OpenGL + 26274) [0x989036a2]
                                                    33 cglBadApplicationNotMuxAwareLockDown + 54 (OpenGL) [0x98903556]
                                                      33 ??? (OpenGL + 24350) [0x98902f1e]
                                                        33 IOServiceOpen + 93 (IOKit) [0x98606aac]
                                                          33 io_service_open_extended + 171 (IOKit) [0x9866b574]
                                                            33 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x943fff7a]
                                                             *33 hndl_mach_scall + 216 (mach_kernel) [0xffffff80002f38f8]
                                                               *33 ??? (mach_kernel + 824877) [0xffffff80002c962d]
                                                                 *33 mach_msg_overwrite_trap + 195 (mach_kernel) [0xffffff800021e043]
                                                                   *33 ipc_kmsg_send + 117 (mach_kernel) [0xffffff80002139f5]
                                                                     *33 ipc_kobject_server + 241 (mach_kernel) [0xffffff8000226bf1]
                                                                       *33 ??? (mach_kernel + 745563) [0xffffff80002b605b]
                                                                         *33 is_io_service_open_extended + 341 (mach_kernel) [0xffffff80006cac65]
                                                                           *33 AppleMuxControl::newUserClient(task*, void*, unsigned int, OSDictionary*, IOUserClient**) + 80 (AppleMuxControl) [0xffffff7f8258df36]
                                                                             *33 IOWorkLoop::runAction(int (*)(OSObject*, void*, void*, void*, void*), OSObject*, void*, void*, void*, void*) + 62 (mach_kernel) [0xffffff80006acf4e]
                                                                               *33 AppleMuxControl::newUserClientGated(void*) + 144 (AppleMuxControl) [0xffffff7f8258deb2]
                                                                                 *33 AppleGraphicsControlClient::start(IOService*) + 36 (AppleMuxControl) [0xffffff7f8258e688]
                                                                                   *33 AppleGraphicsControlClient::startEx(IOService*) + 124 (AppleMuxControl) [0xffffff7f8258e71c]
                                                                                     *33 AppleMuxControl::addTaskToList(IOService*, unsigned int, char*, bool) + 524 (AppleMuxControl) [0xffffff7f8258d458]
                                                                                        *33 IOEventSource::sleepGate(void*, unsigned int) + 69 (mach_kernel) [0xffffff80006ad5e5]
                                                                                          *33 IOGraphicsWorkLoop::sleepGate(void*, unsigned int) + 106 (IOGraphicsFamily) [0xffffff7f80b866d6]
                                                                                            *33 lck_mtx_sleep + 78 (mach_kernel) [0xffffff800022d1be]
                                                                                              *33 thread_block_reason + 204 (mach_kernel) [0xffffff8000235d8c]
                                                                                                *33 ??? (mach_kernel + 223627) [0xffffff800023698b]
                                                                                                  *33 machine_switch_context + 354 (mach_kernel) [0xffffff80002d7e42]
      Thread 0x2f12     DispatchQueue 2707864236 priority 48       
      33 _dispatch_mgr_thread + 52 (libdispatch.dylib) [0x97fc5546]
        33 kevent64 + 10 (libsystem_kernel.dylib) [0x94405992]
         *33 ??? (mach_kernel + 3949760) [0xffffff80005c44c0]
      Thread 0x2f18     priority 46       
      33 thread_start + 34 (libsystem_pthread.dylib) [0x9727fcf2]
        33 _pthread_start + 130 (libsystem_pthread.dylib) [0x9727a485]
          33 _pthread_body + 144 (libsystem_pthread.dylib) [0x9727a5fb]
            33 ??? (Spotify + 2539575) [0x26d037]
              33 mach_msg_trap + 10 (libsystem_kernel.dylib) [0x943fff7a]
               *33 ipc_mqueue_receive_continue + 0 (mach_kernel) [0xffffff8000216800]
      Thread 0x2f2c     priority 46       
      33 thread_start + 34 (libsystem_pthread.dylib) [0x9727fcf2]
        33 _pthread_start + 130 (libsystem_pthread.dylib) [0x9727a485]
          33 _pthread_body + 144 (libsystem_pthread.dylib) [0x9727a5fb]
            33 ??? (Spotify + 11173138) [0xaa8d12]
              33 ??? (Spotify + 7110193) [0x6c8e31]
                33 ??? (Spotify + 7109735) [0x6c8c67]
                  33 ??? (Spotify + 11177224) [0xaa9d08]
                    33 pthread_cond_wait$UNIX2003 + 71 (libsystem_pthread.dylib) [0x9727ebd9]

    I see noting weird in here
    Hardware Information:
              MacBook Pro (15-inch, Mid 2010)
              MacBook Pro - model: MacBookPro6,2
              1 2.4 GHz Intel Core i5 CPU: 2 cores
              4 GB RAM
    Video Information:
              Intel HD Graphics - VRAM: 288 MB
              NVIDIA GeForce GT 330M - VRAM: 256 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 0 days 0:26:50
    Disk Information:
              TOSHIBA MQ01ABD075 disk0 : (750,16 GB)
                        EFI (disk0s1) <not mounted>: 209,7 MB
                        Macintosh HD (disk0s2) /: 749,3 GB (729,06 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              HL-DT-ST DVDRW  GS23N 
    USB Information:
              Apple Internal Memory Card Reader
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
              Apple Inc. Built-in iSight
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist 3rd-Party support link
    Launch Agents:
    User Launch Agents:
    User Login Items:
              iTunesHelper
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              Default Browser: Version: 537 - SDK 10.9
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
    Bad Fonts:
              None
    Old Applications:
              None
    Time Machine:
              Time Machine not configured!
    Top Processes by CPU:
                   6%          WindowServer
                   2%          Safari
                   2%          hidd
                   1%          EtreCheck
                   0%          Dock
    Top Processes by Memory:
              135 MB          Safari
              127 MB          iTunes
              102 MB          WindowServer
              102 MB          Mail
              66 MB          com.apple.WebKit.WebContent
    Virtual Memory Information:
              1.52 GB          Free RAM
              1.47 GB          Active RAM
              227 MB          Inactive RAM
              672 MB          Wired RAM
              270 MB          Page-ins
              0 B          Page-outs

  • Problems running Java.

    Hello,
    I have been using Safari for some time, and have not had problems before now. Every time I try to use a website running Java I get the error message:
    "+Java is unavailable.+
    +The page attempted to load Java content, but Java is unavailable or not installed. Do you want to go to a page where you can download Java?+
    +Go / Cancel+"
    I have downloaded the newest version of Java several times, tried to update Safari (but can't as I have newest version) and restarted my laptop twice.
    Also, I have checked that Java is enabled in Safari settings, and it is. Java is running with no problems in both Internet Explorer and Firefox.
    Nothing seems to be working, so any help would be greatly appreciated. I am running Vista on a Windows machine.
    On another note, I'm not sure if it is related, but whenever I go through links to things on the Apple website to open in iTunes, it keeps telling me iTunes is not installed, and links to the iTunes Store do not work. I have reported this bug already, but thought I should include it anyway.
    Thanks in advance,
    Liam

    Back to the theory that you've got two different problems going on at once, then.
    Working on the iTunes detector issue first.
    Quit both Safari and iTunes if you have them open.
    In Computer, open local disk C or whichever drive your program files are install on.
    Open the "Program Files" folder.
    Open the "iTunes" folder.
    Right-click on the "Mozilla plugins" folder and select Delete.
    Now go into your "Uninstall a program" control panel, select iTunes and click repair.
    (That should recreate the folder, which contains the files the Firefox and Safari iTunes detector plug-in uses.)
    Launch Safari. Do iTunes links work properly now?

  • Problems running a particular app via ssh and remote X

    Got a few apps (including things like Matlab etc.) running off one of our Linux application servers.
    Am now trying to run Stata (using xstata-se) via SGD and it will simply not work.
    It works perfectly if you manually log in to the application server from a terminal with ssh -X and run the executable, but when using SGD, it connects, finds the application, says it's starting it, but then the connection to the Linux server is simply closed. The application session (with pause/play/X buttons etc.) remains even though an X window never appears.
    I've duplicated the Matlab application that works perfectly and simply changed the executable name, so nothing is configured differently but it still refuses to work, instead simply closing the connection.
    The /opt/tarantella/var/log/webtop.log on the specific SGD server shows that the app starts correctly, yet no X window ever appears - all other X apps work fine...
    I've found that there are errors logged in /opt/tarantella/var/log/wm_error.log with:
    X connection to unix:11.0 broken (explicit kill or server shutdown).
    Any ideas?
    Edited by: Hutch on 23-Feb-2011 07:28

    I was having the same issue with Eclipse. If I launched an xterm and then ran eclipse it worked fine but as a published application, it would die after showing the Eclipse splash screen for a second. Adding the ampersand to the end of the launch command fixed it. Strange.
    Thanks for following up your post with the fix. I don't think backgrounding the process from the SGD launcher would have ever occurred to me.

  • How to run java GUI application on embedded ARM linux board

    Hi friends,
    This is suresh. I am Embedded developer .Right now i am using Embedded linux board biased by TI OMAP IC (arm7) .This is working fine.Actually we created one jar application .It is working good in GPOS.But when i was running that jar file in my embedded board. i got some errors. Last two weeks i was searching on the net.But still didn't get proper output.Right now i having  "java 1.7.0_60" with headful support package for arm7. Here i have attached my error screen shot.Thanks

    Using the package manger in your Linux distribution, try installing libX11 package. We had a similar issue using Java SE 8 embedded on arch Linux as with some distros you are starting from the bare basics and need to add in missing dependencies.

  • Problem when moving our app to Linux platform

    Hi to all,
    My app uses Java swings which will work only on windows (platform dependent).
    We used Windows LookandFeel and font for labels as Arial, Tahoma... and set the size for each component according to the windows look and feel, while we developed our app.
    If we change the look and feel to Metal look and feel, labels will not be displayed fully. (Instead of displaying the label as Observation, it displays Observ...). Everywhere in the view, we were facing this problem if we change the look and fell.
    Now we are trying to make our app to be platform independent for which we are working with Linux.
    While working with linux, there is no windows look and feel and no font called Tahoma or Arial.
    Because no font called Arial or Tahoma exist and there is no windows look and feel, Instead of displaying the label as Experimenting, it is displaying as Experim..... This problem occurs everywhere in my apps.
    Also wherever we used Labels in the classes (nearly some 150 class), we specified the font as Tahoma.
    Is there any alternative in Java like Macros (Preprocessor) in C, so that wherever we used the word Tahoma, everywhere it will be changed, if i change it in one place.
    Thanks in advance.

    Bala wrote:
    But how to make the components fully visible and avoid the above problem, even if we change different look and feel and runs on different platforms?IMO: the only real way is to use a cross-platform look & feel so the app looks the same on all environments - it doesn't have to be a built-in one, there are plenty of cool look & feels to be found on the net. In any other case its the same as developing a website: where you would have to create CSS and test it under each browser that you want to support, in the case of Swing you have to create the GUI with system look & feel and test it under every environment that you want to support; tinker and adjust until it works everywhere.
    Another option which is even more of an overhaul is to build on top of the Netbeans platform, which is designed to display correctly in Windows, Mac and Linux (although you can probably still screw it up if you're not careful) and also gives you access to advanced features such as docking windows.

  • URGENT :Error while Running java application in crowntab(linux)

    Hi,
    I have java application on linux machine.
    i created a jar file of my application with all dependencies like oracle drivers etc.
    when i run my jar file from any path using
    java -jar appjar.jar
    its works fine for this or if i add it in .sh file with same comand and run that sh file it also works file.
    Then i try to add it in crowntab entry. and schedule crown.
    It gives me error
    [error]
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle.jdbc.driver.OracleDriver
    at java.lang.Class.initializeClass (libgcj.so.7)
    at java.lang.Class.forName (libgcj.so.7)
    at java.lang.Class.forName (libgcj.so.7)
    at com.soft.mediator.db.DBConnector.init (DBConnector.java:88)
    at com.soft.mediator.db.DBConnector.<init> (DBConnector.java:36)
    at com.soft.mediator.XenerMediator.main (XenerMediator.java:113)
    Caused by: java.lang.ClassNotFoundException: oracle.security.pki.OracleSecretStore not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/abc.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
    at java.net.URLClassLoader.findClass (libgcj.so.7)
    at java.lang.ClassLoader.loadClass (libgcj.so.7)
    at java.lang.ClassLoader.loadClass (libgcj.so.7)
    at java.lang.Class.forName (libgcj.so.7)
    at java.lang.Class.initializeClass (libgcj.so.7)
    ...5 more
    [error]
    i tried to add all path in jar file, class path even on comand line but it gives me same error,
    even i add oracle jar in my path seprately it gives me same error
    any idea what is reason ?

    Thanks for reply
    My problem solved problem was JAVA_HOME.
    Actually on normal shell Jdk version was 1.5, but when it runs my crowntab command linux used jdk 1.4, although JAVA_HOME in etc profile was 1.5 , as it was getting jdk 1.4 so while loading drivers it also includes 1.4 libaries.
    This cause exception in running my crontab entry so i set java_home as well in my shell file and add that shell script in crontab entry

  • Java GUI apps not working

    All my Java apps are not rendering their GUI properly anymore. It seems to affect those that are using a Carbon-ized UI. I'm guessing this means all Swing apps?
    Regardless I'm trying to figure out a way to fix this without re-installing the OS...
    Any tips?
    thanks in advance.
    -j

    Have you tried deleting the Java caches? Close all your Java applications first. You'll find some in <user>:Library:Caches:Java Applets. While you're there you can also clean up anything else in the Caches folder that might be related - it's not a problem to remove anything in here, they'll just get recreated and may cause the related application to start up a bit slower next time.
    There should also be one or more 'Plugin Settings' files in the Applications:Utilities:Java (note: I'm on 10.3.9 and this may be different for you - I have two: one for 1.3.1 and one for 1.4.2). Launch them and use whatever features they have for cleaning up unwanted caches/mess, but I think they just remove the cache files I mentioned in the first paragraph.

  • Java gui apps look garbled/distorted?

    Hi,
    I'm using Java v 1.5 in Windows XP Home and Java apps look garbled (JEdit, exe4j and my own apps). In Linux everything looks normal. Is this a know problem? Any suggestions?
    Thanks!

    Hi,
    The problem is that I get this in all apps using the JVM. That is, not just my own apps, but also the Netbeans IDE, JEdit, J4exe etc. I uploaded some screenshots to this location:
    http://dustparticle.250free.com/
    Both text and window frames look garbled/distorted. For instance, look at the file menu.
    Thanks
    Regards
    EAL

  • Problems running Java Application. Prease Help Me!!

    I've just finished a java application to my University, I used Forte for Java and the Timer that comes with it, it works fine, but, when I try to run it from outside Forte, it's just impossible, I even create a .jar file(with Forte 4), but when I try to run it from Forte, it tells me this:
    java.lang.NoClassDefFoundError: org/netbeans/examples/lib/timerbean/TimerListener
    Exception in thread "main"
    it seems that it's a problem with the Timer, why??
    And when I try to run it from the explorer (Windows), by double clicking the file, it tells me:
    Java Virtual Machine Launcher
    Could not find the main class. Program will exit!
    But how is that possible??, it works fine with Forte. That's my problem, I need to take it to the teacher, but I can only run it from Forte now. What can I do??? Any suggestions?. I Hope that somebody can help me, please.

    This sounds like a problem with the classpath. I was facing similar error with another application. Finally I ended up unzipping the class files and putting them in a directory that was in my class path.
    Or you could explicitly specily your classpath.
    Say your application (called app) is in c:\java\app and your classes are located in c:\java\classes\ where classes is directory run it like:
    c:\java>java -cp c:\java\classes[;second path] app
    hopefully it works.
    -Chirag

Maybe you are looking for