|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools |
Rating:
|
Display Modes |
|
#1
|
|||
|
|||
|
Eclipse running. JRE installed - still get this error
"unable to find a javac compiler. perhaps JAVA_HOME does not point to the JDK." ...
|
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
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
|
|
#4
|
|||
|
|||
|
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 |
|
#5
|
||||
|
||||
|
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.
|
|
#6
|
|||
|
|||
|
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. |
|
#7
|
||||
|
||||
|
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." |
|
#8
|
|||
|
|||
|
Re: Eclipse running. JRE installed - still get this error
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.
Eclipse is a mess. Bob |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|