[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Running AppleCommander GUI?
- Subject: Running AppleCommander GUI?
- From: Steven Hirsch <snhirsch@gmail.com>
- Date: Thu, 26 May 2011 10:52:15 -0400
- Newsgroups: comp.sys.apple2
- User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
- Xref: g2news1.google.com comp.sys.apple2:21897
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