VCC not working on MAC OS X 10.5
Submitted by Nebulorum on Fri, 2009-05-01 19:05.
| Project: | Virtual Combat Cards Project |
| Version: | 0.90 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Nebulorum |
| Status: | closed |
Jump to:
Description
You can't start VCC on Mac OS X 10.5.
#1
This is caused by incompatible JRE version. Mac default JRE is 1.5 and VCC requires 1.6. Replacing the
vcc.shfor the following makes it work:#!/bin/sh
OS=`uname`
if [ $OS == 'Darwin' ]; then
echo "Running on a MAC"
JAVA="/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java"
if [ ! -f $JAVA ]; then
echo "Can't find a suitable JRE, need version 1.6.0"
exit 1
fi
else
echo "Running on other Unix"
JAVA=java
fi
$JAVA -cp "bin/scala-swing.jar:bin/scala-library.jar:bin/miglayout-3.6.2-swing.jar:bin/vcc.jar" vcc.Main
#2
Besides the startup problem there were some visualization. Some of them were fixed by changing the layout manager. However some have to be set at a higher level.
To fix this two external parameter have been added:
For the Mac you must set these parameter on the java command to:
-Dvcc.view.lpanel.width=460 -Dvcc.view.efp.max=2#3
Fixed in version 0.92.2.
#4
Automatically closed -- issue fixed for two weeks with no activity.