Skip to content

Commit 3906449

Browse files
committed
install notes about headless jdk
1 parent 8b0a44f commit 3906449

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,12 @@ If you need to go back to Java 8 (i.e. to build Processing 3), you can use:
9090

9191
On Windows and Linux, you can set `JAVA_HOME` to point at the installation the way you would any other environment variable.
9292

93+
On Linux (Ubuntu 20.04 in particular), the headless version of OpenJDK may be installed by default. If so, you may get errors when trying to run tests in core:
94+
95+
java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so
96+
97+
If so, use `sudo apt install openjdk-11-jdk` to install a full version. (You could also make use of the version downloaded by Processing itself to avoid duplication, but that's a little trickier to get everything bootstrapped and (sym)linked properly.)
98+
9399
And again, we'll have more complete instructions later once the dust settles.
94100

95101
### Eclipse

0 commit comments

Comments
 (0)