[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running AppleCommander GUI?
On May 26, 9:01 pm, Steven Hirsch <snhir...@gmail.com> wrote:
> On 05/26/2011 12:35 PM, schmidtd wrote:
>
> > There's a reason Rob bundled AppleCommander into an executable on
> > Windows and an app on Mac.
>
> That's obviously a sound approach under the circumstances.
>
> > And there's a reason why I hide the Java
> > command line of ADTPro behind a script for Unix-alikes. It's
> > complicated.
>
> Why on earth does it need to BE so complex? I cannot think of any other
> language runtime environment that's even in the same order-of-magnitude.
I've seen a couple. It kinda depends on what you grow up with. MVS
(z/OS) probably seems complicated to some folks, too. ;-)
> And, for the record, I had no idea that I could run AC from ADTPro.
I was just comparing the runtime invocation. Same problem - the
serial library needs some native parts, some external Jars, and one
jar I supply. Same level of complexity, different applications.
> Worked perfectly, thanks. Despite having spent over an hour poking around on
> Google, I saw nothing that even hinted in that direction.
That was completely off the cuff - I'm actually surprised that it
worked without anything more than resolving my bogus directories.
> For reference, this was the shell wrapper required (assumes the AC jar in the
> current directory and a Ubuntu system of recent vintage):
>
> #!/bin/bash
>
> java \
> -Djava.library.path=/usr/lib/jni \
> -cp /usr/lib/java/swt-gtk-3.5.1.jar:AppleCommander-1.3.5.jar \
> com.webcodepro.applecommander.ui.AppleCommander \
> -swt
Fantastic. Now it's in the vast memory of the interwebs.