I feel so embarrassed.... [message #1705310] |
Thu, 13 August 2015 16:18 |
Alexander Sjostrom Messages: 3 Registered: August 2015 |
Junior Member |
|
|
Hey! I am new to Java and new to eclipse.
I heard that eclipse is awesome for java programming so i wanted to try it out.
So first thing i started to follow a simple tutorial on youtube. Derek Banas tutorial series on Java.
Right off the bat the most simple code in the universe fails to work... I Can't figure out why.
Sorry for being the biggest noob in here... But I can't get stuck on something as stupid as this... help please!
[Updated on: Thu, 13 August 2015 18:50] Report message to a moderator
|
|
|
|
Re: I feel so embarrassed.... [message #1705333 is a reply to message #1705310] |
Thu, 13 August 2015 19:49 |
|
On 08/13/2015 11:49 AM, Alexander Sjostrom wrote:
> Hey! I am new to Java and new to eclipse.
>
> I heard that eclipse is awesome for java programming so i wanted to try it out.
> So first thing i started to follow a simple tutorial on youtube. Derek Banas tutorial series on Java.
>
> Right off the bat the most simple code in the universe fails to work... I Can't figure out why.
>
> Sorry for being the biggest noob in here... But I can't get stuck on something as stupid as this... help please!
>
Alexander,
You need to tell Eclipse where your JDK is. Window -> Preferences ->
Java -> Installed JREs.
After that, if it's still not working ('cause you should have done that
first thing before creating the project), if you still have trouble,
then right-click the project (sample java), choose Build Path ->
Configure Build Path -> Libraries -> Add Library... -> JRE System
Library. That should do it.
Hope this helps.
|
|
|
|
Re: I feel so embarrassed.... [message #1705336 is a reply to message #1705335] |
Thu, 13 August 2015 20:24 |
|
On 08/13/2015 02:12 PM, Alexander Sjostrom wrote:
> Didn't work. But might have helped. Depends. I've already told eclipse
> where my jdk is.
> Maybe that particular jre won't work? I have eclipse indigo if that
> makes a difference... I tried configuring the build path and it looks
> like this now:
> No luck so far
Did you check your Build Path Libraries to ensure the JRE System Library
is listed for the project?
|
|
|
Powered by
FUDForum. Page generated in 0.08686 seconds