Mac OS X version

38 views
Skip to first unread message

Rene Knuvers

unread,
Apr 24, 2015, 3:52:55 PM4/24/15
to openft...@auvation.com
Hi there,

I'm using OpenFTA on a 64 bit Windows 7 machine, using the WIN 95 emulation trick. However, I would rather run it on Yosemite OS X 10.10 on my mac than on my Windows machine.

First I tried to compile both the openfta.com sources for linux and the github version out there, but non of them work. The major issue seems the Java version, 1.8 (or JAVA 8) that Apple imposes. This lacks at least a jpeg library that Oracle omitted from JDK at 1.7 or so. Since I don't have JAVA programming skills, I can't jigsaw the JPEG code out of the source, although I could very well live without the JPEG export feature on my mac, as printing to PDF is so much easier.

Then I tried the version Jason provided through this google group. Eureka, that one is small and has 'jar' archives. Unfortunately it seems to be compiled against a Windows library that can't be found on the mac:

java -classpath /Applications/OpenFTA/FTAGUI.jar:/Applications/OpenFTA/images.jar -Xmx256m FTAGUI.OpenFTA

Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /Applications/OpenFTA/libfta.dylib

at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)

at java.lang.Runtime.load0(Runtime.java:809)

at java.lang.System.load(System.java:1086)

at FTAGUI.OpenFTA.main(OpenFTA.java:46)

The first line is the command I use to start the OpenFTA gui. This is basically what the shell script does, but by using it on the command line, I'm able to see what goes wrong... and that is shown by the second line and further.

So now I'm stuck. Who can help? Who has successfully compiled a (modified) source on a JAVA 8 installation, or who has an OS X binary working? Can I use the DLL for Windows on mac ? (suppose I can't, but hey...)

Any help would be appreciated.
Reply all
Reply to author
Forward
0 new messages