• Post Reply Bookmark Topic Watch Topic
  • New Topic

Beginning with Java programming - JDK error  RSS feed

 
Evert DeBoer
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanted to start to program in Java again. (I have done so before, but that was a time ago.) I use an x64 computer with Windows 10 and want to use the IntelliJ development environment.

I have installed the JDK for Windows x64 (jdk-8u121-windows-x64.exe from the site http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).

I have also added the JDK location to the SYSTEM PATH. See below.





And after that I rebooted of course.

But IntelliJ still gives me this error message once I start a new project:



Is there anyone who has got a clue what I am doing wrong? Do I have to install something extra?

Thanks!
 
Tim Cooke
Marshal
Posts: 4051
239
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would be useful if you cut and pasted the error messages you're seeing rather than linking to images because some users such as myself cannot see the images.
 
Evert DeBoer
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I did add the images. Sorry for posting it twice now.
 
Tim Cooke
Marshal
Posts: 4051
239
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Images aren't good for everyone. Can you cut and paste the error message you see as text?
 
Dave Tolls
Ranch Foreman
Posts: 3068
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you see in IntelliJ when you click on File->Project Structure?
you should see a "Project SDK" section on the right if the "Project" option is selected on the left.
If your SDK is missing (and it sounds like it is) then click the "New" button and add it.

Should that not work, open a Command Line console and type "javac -version".  If that fails then there's something up with your path, and we can then move from there.
 
Evert DeBoer
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you see in IntelliJ when you click on File->Project Structure?
You should see a "Project SDK" section on the right if the "Project" option is selected on the left.
If your SDK is missing (and it sounds like it is) then click the "New" button and add it. 


Thanks! Thats works!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!