matoMacBook-Pro:~ dustlessimage$ cd /Volumes/Mac\ HD/Diy/movi/SimpleBGC_GUI_2_1/ gumatoMacBook-Pro:SimpleBGC_GUI_2_1 dustlessimage$ /Volumes/Mac\ HD/Diy/movi/SimpleBGC_GUI_2_1/run.sh 06:04:38,767 TRACE Loading application settings... / EDT 06:04:38,769 DEBUG Settings were loaded. / EDT 06:04:38,769 DEBUG Current locale: en_EN / EDT java.lang.UnsatisfiedLinkError: /Volumes/Mac HD/Diy/movi/SimpleBGC_GUI_2_1/lib/librxtxSerial.jnilib: dlopen(/Volumes/Mac HD/Diy/movi/SimpleBGC_GUI_2_1/lib/librxtxSerial.jnilib, 1): no suitable image found. Did find: /Volumes/Mac HD/Diy/movi/SimpleBGC_GUI_2_1/lib/librxtxSerial.jnilib: no matching architecture in universal wrapper thrown while loading gnu.io.RXTXCommDriver Exception in thread "EDT" java.lang.UnsatisfiedLinkError: /Volumes/Mac HD/Diy/movi/SimpleBGC_GUI_2_1/lib/librxtxSerial.jnilib: dlopen(/Volumes/Mac HD/Diy/movi/SimpleBGC_GUI_2_1/lib/librxtxSerial.jnilib, 1): no suitable image found. Did find: /Volumes/Mac HD/Diy/movi/SimpleBGC_GUI_2_1/lib/librxtxSerial.jnilib: no matching architecture in universal wrapper at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1957) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1886) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1087) at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:83) at sbgc.service.SerialPortService.getPortList(SerialPortService.java:208) at simplebgc_gui.SimpleBGC_GUIView.setPortList(SimpleBGC_GUIView.java:2681) at simplebgc_gui.SimpleBGC_GUIView.MyInitComponents(SimpleBGC_GUIView.java:2393) at simplebgc_gui.SimpleBGC_GUIView.(SimpleBGC_GUIView.java:187) at simplebgc_gui.SimpleBGC_GUIApp.startup(SimpleBGC_GUIApp.java:51) 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) gumatoMacBook-Pro:SimpleBGC_GUI_2_1 dustlessimage$
When I run this .jar, I noticed that there is an error message about "librxtxSerial.jnilib". I do not know how to configure this JAVA path。how to solve this problem? Meanwhile, I follow the instructions, have created / VAR / LOCK file and gave permission.
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
Check that all DLL functions referred in your Java code are correctly defined and exported and export the same datatypes as those your Java code is expecting. This won't stop the DLL loading, but it may well mess up the next stage - resolving link addresses or making functions that should work, fail in unexpected ways. Place the DLL in the current directory, in one of the directories listed in the PATH environment variable, or, best of all, in the native library search path, set using the system property java.library.path:
The dll function which is going to have the particular graphical user interface for the mac os for that you need to follow the windows 10 sound crackling which give you the tips to have the correctness in the bug report .