summaryrefslogtreecommitdiffstats
path: root/recipes-core/jamvm/files
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 13:59:14 +0000
committerHenning Heinold <heinold@inf.fu-berlin.de>2013-09-29 21:52:23 +0200
commitb7fe352e2cec76424b6c1017dbf84a28294ad9b7 (patch)
treedda616f52b9760ca4f492bb97aa19474273ee250 /recipes-core/jamvm/files
parent1f41f82b9241a69a4a1d61e2c547477a1ac84b5a (diff)
downloadmeta-java-b7fe352e2cec76424b6c1017dbf84a28294ad9b7.tar.gz
jamvm-native: separate bootclasspath out into shell script
* instead of hardcode BCP and LD_LIBRARY_PATH into serval files use a shell script and set them there * this allow us again to use other vms for java-native
Diffstat (limited to 'recipes-core/jamvm/files')
-rwxr-xr-xrecipes-core/jamvm/files/java6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/jamvm/files/java b/recipes-core/jamvm/files/java
new file mode 100755
index 0000000..27cf094
--- /dev/null
+++ b/recipes-core/jamvm/files/java
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3IFS=""
4export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:STAGING_LIBDIR_NATIVE/classpath:STAGING_LIBDIR_NATIVE/jamvm"
5export BOOTCLASSPATH="STAGING_DATADIR_NATIVE/jamvm/classes.zip:STAGING_DATADIR_NATIVE/classpath/glibj.zip"
6exec jamvm ${1+"$@"}