We are seeing a Java not found in a vagrant Ubuntu machine that has java 8 installed using these instructions:
add-apt-repository ppa:webupd8team/java -y > /dev/null aptitude update -y > /dev/null echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections aptitude install oracle-java8-installer -y > /dev/null # make sure java8 is the version update-java-alternatives -s java-8-oracle root@spoke:/vagrant# java -version java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
Is there something we do wrong, is this working for you? Under what circumstances would this fail?
Please sign in to leave a comment.