From 4423c838844fa944f5bb46afe0a57dcf5d526ed3 Mon Sep 17 00:00:00 2001 From: Cosmin Vancea Date: Tue, 18 Jul 2023 10:13:59 +0300 Subject: [PATCH] run_app.sh: Add Java as a prebuilt dynamic application `app-elfloader` still needs to be rebuilt in order to be able to start OpenJDK. Signed-off-by: Cosmin Vancea --- run_app.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run_app.sh b/run_app.sh index eb7c2b5..a34abec 100755 --- a/run_app.sh +++ b/run_app.sh @@ -178,6 +178,11 @@ run_bzip2() ./run.sh -d -r ../dynamic-apps/bzip2/ "$extra_args" /bin/bzip2 /test.txt } +run_java() +{ + ./run.sh -d -r ../dynamic-apps/lang/java/ "$extra_args" /bin/java -cp helloworld HelloWorld +} + available_applications() { grep -E "^run_.+\(\)\$" "$0" | sed 's/()//' | sed 's/run_//' | sort