![]() |
Eclipse running. JRE installed - still get this error
"unable to find a javac compiler. perhaps JAVA_HOME does not point to the JDK." ...
|
Re: Eclipse running. JRE installed - still get this error
Make sure that you have installed the Java 8 JDK and not just the JRE. If you did and still can't find it try going to eclipse -> java preferences ->installed JREs and click search and select your C drive and eclipse will find all installed runtimes and you can select the jdk1.8 from there.
|
Re: Eclipse running. JRE installed - still get this error
Have you tried the instructions listed for that error under Troubleshooting on this page: http://wpilib.screenstepslive.com/s/...to-the-roborio
|
Re: Eclipse running. JRE installed - still get this error
afiolmahon has it right, the steps with screenshots are on this page under the heading "Setting up the JDK in eclipse (Java teams only)"
https://wpilib.screenstepslive.com/s...eclipse-c-java |
Re: Eclipse running. JRE installed - still get this error
The troubleshoot topic says literally nothing. I've been using eclipse with java 8 for a long time, I'm sure its configured correctly.
|
Re: Eclipse running. JRE installed - still get this error
Where I highlighted the text in my screenshot, what does the text say on your computer?
![]() Note jdk comes with javac, jre dosent. |
Re: Eclipse running. JRE installed - still get this error
Quote:
As they state "Without this setting you will see error messages about the JRE path not being set correctly." |
Re: Eclipse running. JRE installed - still get this error
1 Attachment(s)
I had to manually specify the JDK in Eclipse. Go to Window -> Preferences -> Java -> Installed JREs. In my case the only line in the list was for the JRE. Click on "Add..." -> Standard VM and put in the JRE Home directory where the Java JDK resides. On my systems it is "C:\Program Files (x86)\Java\jdk1.8.0_31". Make sure the new JDK line is checked, not the JRE line.
Attachment 18508 Eclipse is a mess. Bob |
| All times are GMT -5. The time now is 10:26. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi