From b7fe352e2cec76424b6c1017dbf84a28294ad9b7 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Sun, 29 Sep 2013 13:59:14 +0000 Subject: 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 --- recipes-core/jamvm/files/java | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 recipes-core/jamvm/files/java (limited to 'recipes-core/jamvm/files/java') 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 @@ +#!/bin/sh + +IFS="" +export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:STAGING_LIBDIR_NATIVE/classpath:STAGING_LIBDIR_NATIVE/jamvm" +export BOOTCLASSPATH="STAGING_DATADIR_NATIVE/jamvm/classes.zip:STAGING_DATADIR_NATIVE/classpath/glibj.zip" +exec jamvm ${1+"$@"} -- cgit v1.2.3-54-g00ecf