From 0db1d28e77682430a685892a3cd1fa0d368da826 Mon Sep 17 00:00:00 2001 From: Jan Buchar Date: Fri, 22 Sep 2017 12:03:48 +0200 Subject: [PATCH] Updated RuntimeEnvironments (markdown) --- RuntimeEnvironments.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/RuntimeEnvironments.md b/RuntimeEnvironments.md index b61fe4b..7cd4079 100644 --- a/RuntimeEnvironments.md +++ b/RuntimeEnvironments.md @@ -12,4 +12,6 @@ seems to work. ## Java -By default, we use a Groovy script that looks for a class with a `main` method and executes it for running Java programs. For this setup to work correctly, we need to set the `JAVA_HOME` environment variable and make sure that `$JAVA_HOME/jre/lib/amd64/jvm.cfg` is accessible from the isolate sandbox (the file can be a link to a file in a folder in `/etc`, which also needs to be bound to the sandbox). \ No newline at end of file +By default, we use a Groovy script that looks for a class with a `main` method and executes it for running Java programs. For this setup to work correctly, we need to set the `JAVA_HOME` environment variable and make sure that `$JAVA_HOME/jre/lib/amd64/jvm.cfg` is accessible from the isolate sandbox. The file can be a link to a file in a folder in `/etc`, which also needs to be bound to the sandbox (it is not recommended to bind the whole `/etc/` folder into the sandbox). + +Also, some versions of `/usr/bin/groovy` use `ls` - make sure that it is accessible from the sandbox. \ No newline at end of file