Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Java (http://www.chiefdelphi.com/forums/forumdisplay.php?f=184)
-   -   Eclipse running. JRE installed - still get this error (http://www.chiefdelphi.com/forums/showthread.php?t=132102)

mhaeberli 04-01-2015 20:04

Eclipse running. JRE installed - still get this error
 
"unable to find a javac compiler. perhaps JAVA_HOME does not point to the JDK." ...

afiolmahon 04-01-2015 20:30

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.

RufflesRidge 04-01-2015 20:55

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

cdewane 05-01-2015 13:26

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

Arhowk 05-01-2015 20:53

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.

nickmcski 05-01-2015 23:14

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.

JamesD 05-01-2015 23:49

Re: Eclipse running. JRE installed - still get this error
 
Quote:

Originally Posted by cdewane (Post 1422021)
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

This is the correct page to review for this issue. Check the section "Setting up the JDK in Eclipse". Read through it carefully as it's very easy to select the wrong folder by confusing JDK and JRE in the folder path. They want you to select the jdk path as it shows in the image (C:\Program Files (x86)\Java\jdk1.8.0_xx) even though the name says jre1.8.0_xx.

As they state "Without this setting you will see error messages about the JRE path not being set correctly."

bbaggerman 28-02-2015 11:18

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