#!/bin/sh -ex BASE="/home/m0/git/org.jogamp" JARS=" ${BASE}/gluegen/build/gluegen-rt.jar ${BASE}/jogl/build/jar/atomic/jogl-core.jar ${BASE}/jogl/build/jar/atomic/jogl-gldesktop.jar ${BASE}/jogl/build/jar/atomic/jogl-os-x11.jar ${BASE}/jogl/build/jar/atomic/nativewindow-core.jar ${BASE}/jogl/build/jar/atomic/nativewindow-os-x11.jar ${BASE}/jogl/build/jar/atomic/newt-core.jar ${BASE}/jogl/build/jar/atomic/newt-driver-x11.jar ${BASE}/jogl/build/jar/atomic/newt-ogl.jar " CP="." for j in ${JARS} do if [ ! -f ${j} ] then echo "${j} does not exist!" exit 1 fi CP="${CP}:${j}" done javac -cp "${CP}" TestGL3.java exec java -Djogamp.debug.JNILibLoader=true -cp "${CP}" TestGL3