Followed Instructions, Can't Install

Alrite I’m trying to get this installed on my macbook Pro (recently switched over from a PC) and I can’t seem to figure out why this won’t install properly.

When I try the Web Launcher, I download the file succesfully. But when I try to start it up, by double clicking on it, the Java program starts to run but then I get an error message, saying it was unnable to launch the application.

When I do it manually, I download the file, unzip it (at least I think I do, still not sure how to go about Macs) and then when I open up the Vassal.sh file it opens up a small text document reading:

#!/bin/sh

Execute this file to launch VASSAL on MacOS or Linux

dir=dirname $0
cd $dir && java -Xmx1G -cp lib/Vengine.jar:lib/docs.jar:lib/batik.jar:lib/wizard.jar:lib/browserLauncher.jar VASSAL.launch.Main -extract /docsInfo

So what do I have to do to freakin run this program…

Thus spake “mikepm07”:

This is a known problem on Macs, which caused us to start packaging VASSAL
differently starting with VASSAL 3.1. Try using 3.1.0-beta3 instead:

downloads.sourceforge.net/vassal … macosx.dmg


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

Thus spake “mikepm07”:

So you know, the file which you’re opening in what I presume is a
text editor is a shell script. You’re supposed to run the shell script,
not open it, but I’m not familiar with Macs so I don’t know what the
way to do that is.

In any case, you can avoid this by using 3.1.0-beta3.


J.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

On Tue, August 12, 2008 11:09 am, Joel Uckelman wrote:

Rename it to ‘VASSAL.command’.

This is one of the things that actually really annoys me about OS X - it
has /bin/sh, hash-bang conventions work fine from within a terminal
window, but double-clicking on something that’s marked executable and has
a valid hash-bang header opens it in a text editor. Counter-intuitive and
stupid :frowning:

Cheers,
Tim.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)

On Aug 12, 2008, at 3:09 AM, Joel Uckelman wrote:

You rename the Vassal.sh file to Vassal.command and it will launch by
double-clicking.

A bit hokey, but it works.


Messages mailing list
Messages@forums.vassalengine.org
forums.vassalengine.org/mailman/ … engine.org

Post generated using Mail2Forum (mail2forum.com)