Mac gui not opening
  • Hi, i just bought a dys gopro gimbal, and i downloaded the gui, but when i ru the .jar file it doesn't work, i see java opening in the dock but after a few seconds it closes and nothing happens, how can i solve the problem? i already created the lock directory, and tried with different versions.
  • This is what i get trying to open it from the terminal:

    java -jar /Users/Bencio/Desktop/SimpleBGC_GUI_2_43b9/SimpleBGC_GUI.jar
    17:39:59,830 TRACE Loading application settings... / EDT
    17:39:59,831 DEBUG Creating conf directory... / EDT
    17:39:59,831 ERROR Error loading properties file (/Users/Bencio/conf/bgc.properties): java.io.FileNotFoundException: /Users/Bencio/conf/bgc.properties (No such file or directory) / EDT
    17:39:59,831 DEBUG Current locale: en_EN / EDT
    java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/librxtxSerial.jnilib: dlopen(/Library/Java/Extensions/librxtxSerial.jnilib, 1): no suitable image found. Did find:
    /Library/Java/Extensions/librxtxSerial.jnilib: no matching architecture in universal wrapper thrown while loading gnu.io.RXTXCommDriver
    Exception in thread "EDT" java.lang.UnsatisfiedLinkError: /Library/Java/Extensions/librxtxSerial.jnilib: dlopen(/Library/Java/Extensions/librxtxSerial.jnilib, 1): no suitable image found. Did find:
    /Library/Java/Extensions/librxtxSerial.jnilib: no matching architecture in universal wrapper
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1894)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
    at java.lang.Runtime.loadLibrary0(Runtime.java:849)
    at java.lang.System.loadLibrary(System.java:1088)
    at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83)
    at sbgc.service.SerialPortService.getPortList(SerialPortService.java:229)
    at simplebgc_gui.SimpleBGC_GUIView.setPortList(SimpleBGC_GUIView.java:5080)
    at simplebgc_gui.SimpleBGC_GUIView.MyInitComponents(SimpleBGC_GUIView.java:4644)
    at simplebgc_gui.SimpleBGC_GUIView.(SimpleBGC_GUIView.java:189)
    at simplebgc_gui.SimpleBGC_GUIApp.startup(SimpleBGC_GUIApp.java:63)
    at org.jdesktop.application.Application$1.run(Application.java:171)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:694)
    at java.awt.EventQueue$3.run(EventQueue.java:692)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
  • Just found a solution: http://blog.iharder.net/wp-content/uploads/2009/08/librxtxSerial.jnilib
    Download this file and put it in this directory library/java/extensions deleting the existing one if i understood well is a problem of libraries compatibility between 32 and 64 bit architectures
  • Thanks a lot! Great!