Go to Post I think everyone just needs to chill out and realize what the real goal of FIRST is. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 04-01-2015, 20:04
mhaeberli mhaeberli is offline
Registered User
FRC #3045
 
Join Date: Feb 2014
Location: Redwood City
Posts: 88
mhaeberli is on a distinguished road
Eclipse running. JRE installed - still get this error

"unable to find a javac compiler. perhaps JAVA_HOME does not point to the JDK." ...
Reply With Quote
  #2   Spotlight this post!  
Unread 04-01-2015, 20:30
afiolmahon afiolmahon is offline
Registered User
FRC #1218
 
Join Date: Dec 2014
Location: Philadelphia
Posts: 7
afiolmahon is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-01-2015, 20:55
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 990
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
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
Reply With Quote
  #4   Spotlight this post!  
Unread 05-01-2015, 13:26
cdewane cdewane is offline
Registered User
FRC #3381 (Droid Rage)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Kellnersville, WI
Posts: 8
cdewane is an unknown quantity at this point
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
Reply With Quote
  #5   Spotlight this post!  
Unread 05-01-2015, 20:53
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 05-01-2015, 23:14
nickmcski nickmcski is offline
Registered User
AKA: Nicholas McCurry
FRC #1482 (Grandin Ghosts)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2012
Location: Canada
Posts: 112
nickmcski has a spectacular aura aboutnickmcski has a spectacular aura aboutnickmcski has a spectacular aura about
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.
Reply With Quote
  #7   Spotlight this post!  
Unread 05-01-2015, 23:49
JamesD's Avatar
JamesD JamesD is offline
[:o)
AKA: James David
FRC #0330 (BeachBots)
Team Role: Mentor
 
Join Date: Jun 2012
Rookie Year: 2008
Location: Torrance, CA
Posts: 19
JamesD is an unknown quantity at this point
Re: Eclipse running. JRE installed - still get this error

Quote:
Originally Posted by cdewane View Post
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."
Reply With Quote
  #8   Spotlight this post!  
Unread 28-02-2015, 11:18
bbaggerman bbaggerman is offline
Registered User
FRC #5616
 
Join Date: Jan 2015
Location: Fort Walton Beach, FL
Posts: 1
bbaggerman is an unknown quantity at this point
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.

Click image for larger version

Name:	jdk.png
Views:	14
Size:	66.2 KB
ID:	18508

Eclipse is a mess.

Bob
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:57.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi