diff options
author | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-09-29 13:59:14 +0000 |
---|---|---|
committer | Henning Heinold <heinold@inf.fu-berlin.de> | 2013-09-29 21:52:23 +0200 |
commit | b7fe352e2cec76424b6c1017dbf84a28294ad9b7 (patch) | |
tree | dda616f52b9760ca4f492bb97aa19474273ee250 /recipes-core/jamvm/files/java | |
parent | 1f41f82b9241a69a4a1d61e2c547477a1ac84b5a (diff) | |
download | meta-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/java')
-rwxr-xr-x | recipes-core/jamvm/files/java | 6 |
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 | |||
3 | IFS="" | ||
4 | export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:STAGING_LIBDIR_NATIVE/classpath:STAGING_LIBDIR_NATIVE/jamvm" | ||
5 | export BOOTCLASSPATH="STAGING_DATADIR_NATIVE/jamvm/classes.zip:STAGING_DATADIR_NATIVE/classpath/glibj.zip" | ||
6 | exec jamvm ${1+"$@"} | ||