-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed for lib setup and using auto dir for jaer path
- Loading branch information
Tobi Delbruck
authored and
Tobi Delbruck
committed
Nov 19, 2019
1 parent
caa129c
commit 61f4120
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#!/bin/sh | ||
|
||
# If you get "UnsatisfiedLinkError: /tmp/usb4java... failed to map segment from shared object: Operation not permitted", | ||
# add the following line to the command below: | ||
# -Djava.io.tmpdir=~/tmpdir/ | ||
|
||
JHOME="/media/iulialexandra/Storage/packages/jaer/code/jAER/trunk" | ||
java -classpath "${JHOME}/dist/jAER.jar:${JHOME}/jars/*:${JHOME}/jars/javacv/*:${JHOME}/jars/jogl/*:${JHOME}/jars/usb4java/*" -Dsun.java2d.noddraw=true -Dsun.java2d.opengl=false net.sf.jaer.util.avioutput.DvsSliceAviWriter "$@" | ||
#!/bin/bash | ||
|
||
# If you get "UnsatisfiedLinkError: /tmp/usb4java... failed to map segment from shared object: Operation not permitted", | ||
# add the following line to the command below: | ||
# -Djava.io.tmpdir=~/tmpdir/ | ||
|
||
# from https://stackoverflow.com/questions/59895/get-the-source-directory-of-a-bash-script-from-within-the-script-itself | ||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" | ||
|
||
# change JAERHOME to your jAER top folder, i.e. the one that holds this script, if DIR doesn't work | ||
JAERHOME="$DIR" | ||
java -classpath "${JAERHOME}/dist/jAER.jar:${JAERHOME}/jars/*:${JAERHOME}/lib/*" -Dsun.java2d.noddraw=true -Dsun.java2d.opengl=false net.sf.jaer.util.avioutput.DvsSliceAviWriter "$@" |