updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / moonlight3d / moonlight.sh
blob351fa145bd33132f5dfd5600955cff411e825160
1 #!/bin/sh
3 MOONLIGHT_BASE=/usr/share/java/moonlight3d
4 FILES_BASE=/usr/share/moonlight3d
6 MOONLIGHT_LIB=$MOONLIGHT_BASE/lib/Linux/`uname -m`
7 export LD_LIBRARY_PATH=$MOONLIGHT_LIB:$LD_LIBRARY_PATH
9 for i in $MOONLIGHT_BASE/lib/jar/*.jar ; do
10 CLASSPATH=$i:$CLASSPATH
11 done
13 for i in $MOONLIGHT_LIB/*.jar ; do
14 CLASSPATH=$i:$CLASSPATH
15 done
17 for i in /usr/share/java/sunflow/*.jar ; do
18 CLASSPATH=$i:$CLASSPATH
19 done
21 CLASSPATH=$CLASSPATH:$MOONLIGHT_BASE/ml3d.jar
23 java -server -Dcom.trolltech.qt.library-path=$MOONLIGHT_LIB -Xmx1024m -cp $CLASSPATH eu.moonlight3d.ml3d.ML3D $FILES_BASE