Skip to content

Instantly share code, notes, and snippets.

@xranby
Last active December 14, 2018 06:12
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save xranby/4160432 to your computer and use it in GitHub Desktop.
JOAL test for Raspberry Pi
sudo apt-get update
# First install openjdk jre/jdk to get java running on the Pi
# For a complete list of openjdk package names options to use see:
# http://www.raspberrypi.org/phpBB3/viewtopic.php?f=81&t=27805
sudo apt-get install openjdk-7-jre
# Download the gluegen-rt, joal and native armel/armhf libs for the Pi (~400kb)
wget http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar
wget http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt-natives-linux-armv6.jar
wget http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt-natives-linux-armv6hf.jar
wget http://jogamp.org/deployment/jogamp-current/jar/joal.jar
wget http://jogamp.org/deployment/jogamp-current/jar/joal-natives-linux-armv6.jar
wget http://jogamp.org/deployment/jogamp-current/jar/joal-natives-linux-armv6hf.jar
# Download and run JOAL demo on the Pi (~1.5Mb)
# For more JOAL examples visit: http://jogamp.org/joal-demos/www/
wget http://jogamp.org/deployment/jogamp-current/jar/joal-test.jar
java -cp joal-test.jar:joal.jar:gluegen-rt.jar com.jogamp.openal.test.manual.Sound3DTest
java -cp joal-test.jar:joal.jar:gluegen-rt.jar com.jogamp.openal.test.manual.OpenALTest
wget https://jogamp.org/deployment/jogamp-current/joal-demos/jar/joal-demos.jar
java -cp joal-demos.jar:joal.jar:gluegen-rt.jar demos.devmaster.lesson5.SourcesSharingBuffers
@xranby
Copy link
Author

xranby commented Nov 28, 2012

For more JOAL examples visit: http://jogamp.org/joal-demos/www/

http://jogamp.org
JOAL Support forum is available at: http://forum.jogamp.org

@xranby
Copy link
Author

xranby commented Nov 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment