I’ve been trying to run some Java example:
~/spaces/frp/sodium/book/swidgets/java (master ✔) ᐅ mvn test -Pclearfield
Full error message looks like this: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Much the same with ant:
~/spaces/frp/sodium/book/swidgets/java (master ✔) ᐅ ant clearfield Buildfile: /home/alexey/spaces/frp/sodium/book/swidgets/java/build.xml ... BUILD FAILED /home/alexey/spaces/frp/sodium/book/swidgets/java/build.xml:12: The following error occurred while executing this line: /home/alexey/spaces/frp/sodium/java/build.xml:43: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
I’ve read everything the ArchWiki says on the matter; everything looks fine.