File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes getting started with IJ7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "getting started with IJ7" Watch "getting started with IJ7" New topic

getting started with IJ7

Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Having eventually decided to give the new InteliJ a go, I'm now stuck at a really early stage of the process. I'd love to hear from any of you old hands if you can solve my problem.

When I try to create a new project, I am prompted with what is apparently a multi-panel wizard. I say "apparently", because I can't get beyond the first page, labelled "Please select project JDK" with an empty panel to select from.

I have tried selecting every visible directory of several of the half-dozen JDKs I have installed, but always get the following message "The directory selected is not a valid home for JSDK". Best of all, clicking the nice help button gives "Help topic "Reference/Dialogs/newProjectWizardJDKPage.html" not found"

Any hints on what I am missing? I don't remember Eclipse being this tricky to get going

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9059
Do you have a jdk in your path? My IJ picked out 2 possibilities for me to choose from.

To ask the obvious, are you pointing to the root of the jdk (e.g. C:\j2sdk1.4.2_10) and not the bin dir or the jre?

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Dmitry Jemerov
Ranch Hand

Joined: Nov 24, 2006
Posts: 120
Hello Frank,

The broken help link is indeed something to be ashamed of. We'll fix this in the next bugfix update.

As for the Java SDK home, you'll need to select the top-level installation directory of a JDK. I just verified that it works correctly for me. Which OS are you using, by the way?

Dmitry Jemerov<br />Development Lead<br />JetBrains, Inc.<br /><a href="" target="_blank" rel="nofollow"></a><br />"Develop with Pleasure"
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Thanks for the responses.

The box in question runs Windows XP. In the "C:\Program Files\Java" directory I have a slew of Java versions, and I tried selecting directories at every level.

I think I may have found the problem, though. It seems that all bar one of the Java versions are actually just JREs. When I selected one which was a "full fat" JDK with the compiler and stuff, I got a bit further. I guess it would have been nice for the error message to explain what in particular was wrong, rather than leaving me unsure whether I had chosen a directory at the wrong level, or was looking in the wrong place altogether.

Would it be at feasible for IJ to search in likely locations for plausible candidate JDK installations, and show them in the initial list, so save all this trial-and-error poking around? I have used other Java software which seemed to do this with reasonable effectiveness. This is becoming more and more of an issue with Sun now automatically pushing out updated JREs every few months.

I'm still also slightly puzzled by the offered option of using an IDEA JDK. It's tantalisingly there in the options, but would never let me choose it (I'm afraid I am on a different machine, so I can't quote the particular error right now)

Can anyone explain what this is for?

Dmitry Jemerov
Ranch Hand

Joined: Nov 24, 2006
Posts: 120
Hello Frank,

Thanks for your feedback! We'll try to improve the diagnostics to make this less confusing.

As for the IntelliJ IDEA JDK, this JDK type is used for developing IntelliJ IDEA plugins. It includes the IntelliJ IDEA OpenAPI libraries in additional to regular JRE/JDK jars.

Joined: Aug 01, 2008
Posts: 1
I'm trying to get up to speed with JAVA and I'm hoping to use IntelliJIDEA to help me.
Just installed it on my Mac, ran it and tried to create a new project so I can do my first Hello World.

I'm also stuck at the "Please select project JDK" dialog...not only do I not know which one of these things (JSDK or IntelliJIDEA) I'm supposed to pick but even if I pick one, I've absolutely no idea where I'm supposed to find it.

I see someone has already suggested the obvious, i.e, have the dialog present me with all possible JDKs) but until that happens, could somebody please tell me where I"m supposed to find whatever this thing wants?

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63870

"dhjdhj", please check your private messages for an important administrative matter.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: getting started with IJ7
It's not a secret anymore!