[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running AppleCommander GUI?



First, a disclaimer: I do not like Java. I do not get along with Java. It doesn't get along with me. There's always something missing or it's not the right version - you name it.

However, I'd really like to be able to use AppleCommander in GUI mode on my 64-bit Linux system. I have the AC 1.3.5 jar file. When I do:

$ java -jar AppleCommander-1.3.5.jar

It gives me the help screen and will presumably operate in command line mode. However, when I try to run the GUI:

$ java -jar AppleCommander-1.3.5.jar -swt

It throws an exception:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Listener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)

....

I've tried specifying the directory where swt-gtk-3.5.1.jar is located:

$ java -Dswt.home=/usr/lib/java -jar AppleCommander-1.3.5.jar -swt

Same thing..  Tried setting swt location in the environment:

$ SWT_HOME=/usr/lib/java java -jar AppleCommander-1.3.5.jar -swt

Same thing.

Does anyone know the magic incantation for getting the GUI up on Linux?

Steve