Updated RuntimeEnvironments (markdown)

master
Jan Buchar 7 years ago
parent 68bfac416e
commit f4ae99d8fa

@ -10,8 +10,8 @@ requires the `$HOME` variable to be set to something. Otherwise, it tries to
look up the UID used by Isolate in `/etc/passwd` and fails. Setting `HOME=/box` look up the UID used by Isolate in `/etc/passwd` and fails. Setting `HOME=/box`
seems to work. seems to work.
## Java We use a wrapper script that translates exceptions to error codes. This script can be found in the utils repository.
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). ## Java
Also, some versions of `/usr/bin/groovy` use `ls` - make sure that it is accessible from the sandbox. By default, we use a script that looks for a class with a `main` method and executes it for running Java programs. This script is located in the utils repository.
Loading…
Cancel
Save