summarylogtreecommitdiffstats
path: root/jpcsp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jpcsp.sh')
-rwxr-xr-xjpcsp.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jpcsp.sh b/jpcsp.sh
new file mode 100755
index 00000000000..76cfc7021d3
--- /dev/null
+++ b/jpcsp.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+mkdir -p ~/.jpcsp
+cd ~/.jpcsp
+
+if [ `uname -m` == x86_64 ] ; then
+ export LD_LIBRARY_PATH=/opt/jpcsp/lib/linux-amd64:/opt/java/jre/lib/amd64:/usr/lib/jvm/java-6-openjdk/jre/lib/amd64:/usr/lib/jvm/java-7-openjdk/jre/lib/amd64
+ else
+ export LD_LIBRARY_PATH=/opt/jpcsp/lib/linux-x86:/opt/java/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-7-openjdk/jre/lib/i386
+fi
+java -jar "/opt/jpcsp/bin/jpcsp.jar"