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
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?
Joined: Nov 24, 2006
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.
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?