# 9008 Won't run
I installed 9008 (including bundled JRE) to an empty directory as usual, but when I try to run it, it immediately displays an error message box. The batch file outputs:
-
ERROR: cannot start IntelliJ IDEA.
No JDK found to run IDEA. Please validate either IDEA_JDK or JDK_HOME points to
valid JDK installation
-
I've tried this installation twice in a clean directory with the same result each time.
Please sign in to leave a comment.
Hello Dave,
Which OS are you on? Do you have any values specified for any of these variables?
Did you try to run the .exe?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
I'm using WinXP, and I didn't have system environment variables set for IDEA_JDK or JDK_HOME on this machine. They weren't set for previous builds.
I tried to run 9008 using the desktop shortcut, the .exe, and the batch.
I haven't done anything different when installing this build to previous builds, and I subsequently tried reinstalling #8995 and that installed and ran OK, exactly as expected.
It's not a show-stopper - the 9008 build installs OK if I manually set a JDK_HOME system variable, but I haven't needed to do this for previous builds, so I thought you should be aware of it.
Mind you, it still only runs from the batch file - it can't find Java if run from the .exe or desktop shortcut...
Edited by: Dave Lorde on Nov 7, 2008 12:04 AM
I'm using Windows Vista, and I'm having the same problem. Clean Install, point install to 7.0.4 version. Program runs fine initially after install, but after that ... nothing. Double-clicking the desktop shortcut results in a flash of the main splash page, and that's it. Run the batch program, and I get the same message. Never had to do this before, and no problems on my work PC (an XP machine) when we upgraded there.
Should the IDEA_JDK be pointing to the JRE in the IDEA home directory?
Thanks!
Steve Weber wrote:
A coworker had a similar problem running the EAP if he used a -Xmx
memory size setting with values higher than 768m
--Aaron
That's not the problem in my case I don't think. Here's my vmoptions file:
-Xms256m
-Xmx516m
-XX:MaxPermSize=128m
-ea
That's the same settings I've used since IDEA 6.
That being said, I may have stumbled onto something.
I use the "Textpad" text editor. In my recent files list, I had a reference to the 8.0M1 version of the vmoptions file. I was surprised when I selected it, because I thought I had deleted the folder after I installed the final version. But in fact, using Textpad's File/Open dialog box, I could see a lot of old version folders were still present in my C:\Program Files folder. Once I deleted all of the unused versions, including 8.0M1, the program launched without issue.
What I can't figure out is, why couldn't I see these folders in the normal Windows Explorer program? Heck, why didn't they fully delete after I asked them to?
Anyway, the program runs as expected now.
Edited by: Steve Weber on Nov 12, 2008 6:20 AM