just loaded Mac OS Catalina have a problem

Mac OS Catalina version 10.15.5

i cant open vassal - ugh

Thus spake quanprint via messages:

Mac OS Catalina version 10.15.5

i cant open vassal - ugh

We need more information to help you. Please post the contents of the
errorLog, which you should find in ~/Library/Application Support/VASSAL.


J.

I solved this for another this past weekend. I send Greg Smith (again new system with OS 10.15 Catalina) the dmg file for Mac OS java 8 update 91 which always seems to work. Same issue arose about two years ago when Mac OS went to 10.13; vassal no longer worked on the newer java, Java is up to java 8 u251 now I think. Just because there is a new java, does not mean you have to use it. Same for Mac OS, Vassal Engine. Took me some effort to find the j8u91 installer again, I have it on a dropbox. I can make it available; bill@wargameacademy.org. I also have instructions of how to NOT have your Mac update to any new java automatically, with risk of disabling vassal.

Yep. I’m afraid that Vassal 3.3.0. doesn’t launch at all with the latest versions of Mac OS Catalina and Java.

Is there any solution in the works?

Thus spake borat:

Yep. I’m afraid that Vassal 3.3.0. doesn’t launch at all with the latest
versions of Mac OS Catalina and Java.

Is there any solution in the works?

No one has given us any useful information for troubleshooting yet.

If you’re having this problem, please post the contents of the errorLog
after you try running VASSAL. The errorLog is in
~/Library/Application Support/VASSAL.


J.

I am on the latest Mac OS Catalina and have not experienced a problem like this, nor on any version of MacOS going back the 3 years that I’ve been using Vassal.

Happy to share any configuration details that I can, if it might help.

Thus spake marktb1961:

I am on the latest Mac OS Catalina and have not experienced a problem
like this, nor on any version of MacOS going back the 3 years that I’ve
been using Vassal.

Happy to share any configuration details that I can, if it might help.

Do you have any insight into the mouse problem on this thread?

https://forum.vassalengine.org/t/mac-dropdown-menu-bug-in-3-3-1/10776/1


J.

Which Java version are you running? As per a previous post in this thread, it seems there is a chance the problem might be related to the latest version of Java (JRE8u521-b08).

My configuration is:

  • Model: MacBook Pro (13-Inch, 2013)
  • Operating System: macOS Catalina (10.15.5)
  • CPU: 2 GHz Dual-Core Intel Core i5
  • Memory: 8 GB
  • Video Card: Intel Iris 1536 MB
  • Vassal version: 3.3.1
  • Java version: JRE8u521-b08

There is no error log as the application does not launch at all.

Never experienced this problem in the past with any Mac OS, Vassal or Java updates. Vassal had always worked on my Macbook just fine.

Thus spake borat:

There’s no error log ast the the application doesn’t launch at all.

Never experienced this problem in the past with any Vassal or Java
updates. Vassal had always worked on my Macbook just fine.

Ok. Inside VASSAL’s app bundle you should find /Contents/MacOS/VASSAL.sh.
That’s what’s supposed to be run when you click on the app icon. What
happens if you run that manually, from a terminal?


J.

How do I run it manually from a terminal? Never done it before, sorry.

In case it is of any help, the code when I open the VASSAL.sh file reads as follows:

#!/usr/bin/env bash -e

get the root directory of the bundle and go there

APP_ROOT="$(dirname “$0”)/…/…"
cd “$APP_ROOT”

filter out the -psn_* option added by Finder

ARGS=()
for ARG in “$@”; do
if [[ “$ARG” != -psn_* ]]; then
ARGS+=($(printf ‘%q’ “$ARG”))
fi
done

fire it up

exec Contents/MacOS/jre/bin/java -classpath Contents/Resources/Java/Vengine.jar -Xdock:name=VASSAL -Xdock:icon=Contents/Resources/VASSAL.icns VASSAL.launch.ModuleManager “${ARGS[@]}”

Thus spake borat:

How do I run it manually from a terminal? Never done it before, sorry.

Be in the root directory of the app bundle. Then type:

Contents/MacOS/VASSAL.sh

and hit Enter.

Or, go to Contents/MacOS and type

./VASSAL.sh

and hit Enter.

In case it is of any help, the code when I open the VASSAL.sh file reads
as follows:

That’s how it should look.

J.

This is what I get:

Last login: Sun Jun 28 23:11:49 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit support.apple.com/kb/HT208050.
MacBook-Pro-de-Jorge:~ jorgeiglesias$ Contents/MacOS/VASSAL.sh
-bash: Contents/MacOS/VASSAL.sh: No such file or directory
MacBook-Pro-de-Jorge:~ jorgeiglesias$ Contents/MacOS
-bash: Contents/MacOS: No such file or directory

Thus spake borat:

This is what I get:

Last login: Sun Jun 28 23:11:49 on ttys000

The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit support.apple.com/kb/HT208050[1].
MacBook-Pro-de-Jorge:~ jorgeiglesias$ Contents/MacOS/VASSAL.sh
-bash: Contents/MacOS/VASSAL.sh: No such file or directory
MacBook-Pro-de-Jorge:~ jorgeiglesias$ Contents/MacOS
-bash: Contents/MacOS: No such file or directory

You got that because you weren’t in the right directory.

Where did you put VASSAL’s DMG?


J.

See the attached picture.

VASSAL’s DMG is in my downloads folder.

Thus spake borat:

See the attached picture.

VASSAL’s DMG is in my downloads folder.

When you run anything in the terminal, the shell needs to be able to find
what you’re trying to run. Some things the shell finds on the PATH.
VASSAL.sh will not be on the PATH, so you need to tell the shell where to
look.

Can you go to ‘Aplicaciones/VASSAL.app’ in your terminal? You use ‘cd’ to
change directories.


J.

See the attached image. Nothing happens.

[attachment=0]Captura de pantalla 2020-06-29 a las 1.24.04.png[/attachment]

Ok.

  • What happens if you run ‘which bash’?

  • What happens if you run ‘Contents/MacOS/jre/bin/java -classpath Contents/Resources/Java/Vengine.jar -Xdock:name=VASSAL -Xdock:icon=Contents/Resources/VASSAL.icns VASSAL.launch.ModuleManager’ from that same location?

This is what happens when I run ‘which bash’

[attachment=2]Captura de pantalla 2020-06-29 a las 1.42.42.png[/attachment]

When I run the other command, nothing happens. See the image.

[attachment=1]Captura de pantalla 2020-06-29 a las 1.41.10.png[/attachment]

If I try to run the java file directly from the terminal, this is what I get.

[attachment=0]Captura de pantalla 2020-06-29 a las 1.41.20.png[/attachment]

It looks like everything you’ve run except for ‘which bash’ has failed to return. Does anyone who is more familiar with Macs than I am know what’s going wrong here?