Crea sito

FAQ

Which are the game system requirements for playing Vpiro's Linux and Java applications?

A Java Virtual Machine is needed, (Open JDK >=1.6.0_24 or java-6-sun). The hardware requirement are low, refer to JVM requirements for details, the video card must support minimum resolution of 1024x768.

After having installed the game does not start.

Try to execute from the shell the launcher command to analyze the problem:

sh /usr/share/Historia-Battles/launch.sh

Java Runtime error:

Exception in thread "main" java.awt.HeadlessException
    at
java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:173)
    at java.awt.Window.<init>(Window.java:437)
    at java.awt.Frame.<init>(Frame.java:419)
    at javax.swing.JFrame.<init>(JFrame.java:218)
    at E.<init>(Unknown Source)
    at F.<init>(Unknown Source)
    at VideoGameKit.ApplicationBusinessLogics.b.<init>(Unknown Source)
    at
VideoGameKit.ApplicationBusinessLogics.SimpleStrategyGameBL.<init>(Unknown
Source)
    at
VideoGameKit.ApplicationBusinessLogics.SimpleStrategyGameBL.main(Unknown
Source)

Edit hte launcher script, set the correct reference to local JVM and add the var JAVA_HOME to command.

chmod 777 /usr/share/Historia-Battles/launch.sh
gedit /usr/share/Historia-Battles/launch.sh


#!/bin/sh
APP_NAME="Historia-Battles"
JAVA_HOME=/usr/lib/jvm/java-6-sun/bin

CLASSPATH=.:./Jars/TEST.jar:./Jars/jdom/jdom.jar:./Jars/jdom/xercesImpl.jar:./Jars/jdom/xmlParserAPIs.jar

# WORKING DIRECTORY
USER_HOME=`cd ~;pwd`
WORKING_DIR="$USER_HOME/.$APP_NAME"
mkdir "$WORKING_DIR"

LAUNCHER_DIR=`dirname $0`

`cd $LAUNCHER_DIR;$JAVA_HOME/java -cp $CLASSPATH
VideoGameKit.ApplicationBusinessLogics.SimpleStrategyGameBL $WORKING_DIR
gameDescription.xml`