summaryrefslogtreecommitdiffstats
path: root/src/jbullet/setenv-jbullet.sh
blob: 2464022598a99728da7840b17f7131133cfb48a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#! /bin/sh

JOGLPROF=$1
shift

if [ -z "$JOGLPROF" ] ; then
    JOGLPROF=JOGL_ES1_MIN
fi
THISHOME=`pwd`

cd ../..
. ./setenv-jogl.sh $JOGLPROF

cd $THISHOME

THISDIR=`pwd`

PATH=$JAVA_HOME:$J2RE_HOME:$PATH
export PATH

export LIBXCB_ALLOW_SLOPPY_LOCK=1

LIB=$THISDIR/lib

JOGL_HOME=$THISDIR/../../../jogl
CLASSPATH_TROVE=$LIB/trove.jar
CLASSPATH_VECM=$LIB/vecmath.jar
CLASSPATH=$CLASSPATH:$THISDIR/build/classes:$CLASSPATH_TROVE:$CLASSPATH_VECM
export JOGL_HOME CLASSPATH_TROVE CLASSPATH_VECM CLASSPATH 

#
# java javabullet.demos.genericjoint.GenericJointDemo
#