![]() |
Problem running Eclipse Code
1 Attachment(s)
Hey, I'm a programmer from team 4780 and I'm getting an error when I try to run a code I have in eclipse. I'm sorry if someone already posted this, but I couldn't find anything. I'm not sure what exactly this error means and I need advice on how to fix it. Thanks in advance!Attachment 18311
|
Re: Problem running Eclipse Code
Quote:
http://www.gyazo.com/ http://www.take-a-screenshot.org/ Are your environment variables setup correctly? It seems like you may have an incorrect/no JAVA_HOME specified. https://stackoverflow.com/questions/...e-on-windows-7 |
Re: Problem running Eclipse Code
It would appear that you are pointing your java home directory to a JRE (java runtime environment), not the JDK (java developer kit, I think). We had the same issue and once we downloaded and started using the JDK it was OK.
|
Re: Problem running Eclipse Code
You'll need to set your JAVA_HOME environment variable to point to a Java JDK instead of a JRE. If you don't have a JAVE_HOME environment variable, create one and have it point to the JDK.
|
Re: Problem running Eclipse Code
Quote:
Then I found the newest jdk in JRE home, clicked next and select it. This worked with out me even touching JAVA_HOME which I still do not even have in my system variables |
Re: Problem running Eclipse Code
Quote:
|
Re: Problem running Eclipse Code
Quote:
|
Re: Problem running Eclipse Code
Quote:
|
Re: Problem running Eclipse Code
Quote:
which states "Eclipse DOES NOT consult the JAVA_HOME environment variable." |
Re: Problem running Eclipse Code
Quote:
|
Re: Problem running Eclipse Code
Quote:
|
Re: Problem running Eclipse Code
Quote:
|
Re: Problem running Eclipse Code
:yikes: Sorry I have just installed Eclipse on a new computer and found out that both methods work so go with with what ever you find the best
|
Re: Problem running Eclipse Code
Thanks for the help. Problem solved, I had Jre 8 instead of jdk in JAVA_HOME.
|
| All times are GMT -5. The time now is 11:12. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi