For some reason, when I go to add a JRE to eclipse/sts and give it the location of the JDK 1.6.0_22, it says:
Target is not a JDK root. System library was not found.
I am giving it this folder, which is accurate and works for everything else: /opt/jdk1.6.0_22
But it is the jdk root. IDEA thinks so. Every other APP on the planet thinks so too. Aside: God, I really hate eclipse. This is why I never use it, because nothing works like it's supposed to. I just want to try Spring Insight out, so that's why I am using STS...
I am on Ubuntu 10.10 if that makes any difference.
Please help. I think I can finally get this to work if I can just get STS/Eclipse to stop being stupid :/
The default installation directory of a static JRE is C:\Program Files (x86)\Java\jre n (for 32-bit versions) or C:\Program Files\Java\jre n (for 64-bit versions), where n is the full Java SE release and update number (for example, n = 1.8.
Current releases of Eclipse require Java 11 JRE/JDK or newer. A Java Development Kit (JDK) includes many useful extras for Java developers including the source code for the standard Java libraries. Regardless of your operating system, you will need to install some Java virtual machine (JVM).
You can install the Spring Tools for Eclipse IDE into an existing Eclipse installation using the Eclipse Marketplace. Just open the marketplace client in Eclipse, search for Spring Tools and install the “Spring Tools (aka Spring IDE and Spring Tool Suite)” entry.
Are you sure you are pointing to the JDK folder and not the JRE folder ?
You must select the root folder of the JDK installation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With