I run into an interesting problem. I have a machine with Ubuntu 12.04 STS and I wanted to install STS 3.8.4. I have the jdk 8 installed but when I try to run STS I get this message "Version 1.6.0_41 of the JVM is not suitable for this product. Version: 1.8 or greater is required." SO, I've had a look on SO and a few forums, I discovered this command sudo update-alternatives --config java but I only get these results:
Code:
linux-Dell-System-XPS-L702X:~/opt$ sudo update-alternatives --config java
There are 2 choices for the alternative java (providing /usr/bin/java).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 auto mode
* 1 /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java 1061 manual mode
2 /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java 1051 manual mode
Press enter to keep the current choice[*], or type selection number: 2
still no jdk 8, which, as I said, is installed on my machine because I use it with eclipse. Now, is there a way to manually set it in some kind of STS configuration file as far as you know or any other way that I seem to fail to identify?