Can't get PHPStorm to start on my machine

Hello all

I just downloaded the trial version of PHPStorm IDE 1.0 on Windows XP SP3 machine. After completing the installation without any problems, I can't start the PHPStorm IDE. It always gives the error "The JVM could not be started. The main method may have thrown an exception."

I just checked my Java version - it is version 6 update 21. On my Mac, it works perfect.

How can I solve this problem?

Regards

6 comments

Well.. Does any other Java-based software work on your PC?

0

Did you used .exe installer or .zip distribution?
In case of .exe we ship JRE copy within IDE. Try removing (renaming) this jre folder and restarting app.
Try start using PhpStorm.bat (instead of exe) to see exceptions in console, post here if any.
Check contents of [user_home]/.WebIDE10/system/logs - are there any further details on error in *.log files?

0

Hi there

Try start using PhpStorm.bat (instead of exe) to see exceptions in console, post here if any.


I got the following error when I executed the .bat file.

ERROR: cannot start webide.
No JDK found to run webide. Please validate either WEBIDE_JDK or JDK_HOME points
to valid JDK installation


I created an environment variable "JDK_HOME" that pointed to the same path as another of my environment variables "JAVA_HOME". That way I was able to get PHPStorm running by executing the .bat file. Using the normal shortcut to the .exe file still displays the same message.
In case of .exe we ship JRE copy within IDE. Try removing (renaming) this jre folder and restarting app.

Tried that, and the only difference was that I could see the splash-screen, then the same error popped up.

Check contents of [user_home]/.WebIDE10/system/logs - are there any further details on error in *.log files

There was a file idea.log file in there. I am attaching it over here.

Got to tell you that this editor is growing on me, would like to test it extensively on my Windows machine. Wonderful work.

Regards



Attachment(s):
idea.log.zip
0

Please provide full output of "java -version" of "working" JDK executed from command line..
Did you altered contents of /bin/*.vmoptions in IDE?

Also, you may want to try EAP version of PhpStorm 2.0 - see http://confluence.jetbrains.net/display/WI/Web+IDE+EAP

0

Hi there

Please provide full output of "java -version" of "working" JDK executed from command line..

Here it is...

C:\Documents and Settings\vikram>java -version
java version "1.6.0_21"
Java(TM) SE Runtime Environment (build 1.6.0_21-b07)
Java HotSpot(TM) Client VM (build 17.0-b17, mixed mode, sharing)


Did you altered contents of /bin/*.vmoptions in IDE?

No, I didn't.

Also, you may want to try EAP version of PhpStorm 2.0 - see http://confluence.jetbrains.net/display/WI/Web+IDE+EAP

Will try this. Thanks. :)
0

Please sign in to leave a comment.