Fatal Error: Unable to find package java.lang in classpath or bootclasspath

‹ Terror Drone | Accessible Introduction to Software Transactional Memory (STM) ›

This error: Fatal Error: Unable to find package java.lang in classpath or bootclasspath can occur when /usr/lib/jvm/default-java is missing

This can be worked around with:

cd /usr/lib/jvm
sudo ln -s java-8-oracle default-java

Subscribe to All Posts - Wesley Tanaka