Skip to content

Instantly share code, notes, and snippets.

@hawesie
Created February 3, 2016 15:18
Show Gist options
  • Save hawesie/fb323f46fd48835b7a03 to your computer and use it in GitHub Desktop.
Save hawesie/fb323f46fd48835b7a03 to your computer and use it in GitHub Desktop.
nxtcam-viewer
#!/bin/csh
# make sure we have java enabled
#setup Java
# this is where we get our stuff from
setenv NXTCAM_HOME /bham/pd/packages/nxtcam-viewer/1.7
java -Djava.library.path="${NXTCAM_HOME}/lib" -classpath /usr/share/java/jdom1.jar:${NXTCAM_HOME}/lib/RXTXcomm.jar:${NXTCAM_HOME}/classes: avr.swing.JAVRCamFrame
foreach _lock (`ls /tmp/LCK.*`)
/bin/rm -f $_lock
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment