If you mean setting SET IDEA_HOME=c:\Program Files\idea
This does not work as well. Have you tested your script with IDEA under 'Program Files' ? BTW, note that this used to work well with all previous versions so something seems to be broken in this one. Thanks, Tal > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Eugene Belyaev > Sent: Tuesday, December 11, 2001 12:27 AM > To: [EMAIL PROTECTED] > Subject: RE: [Eap-list] Error when trying to start IDEA 2.5 > > > Try not to include the "c:\Program Files\idea" into quotes. > > Best regards, > > Eugene Belyaev > IntelliJ Software, http://www.intellij.com > "Develop with pleasure" > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On Behalf Of Tal Dayan > > Sent: Tuesday, December 11, 2001 9:07 AM > > To: [EMAIL PROTECTED] > > Subject: [Eap-list] Error when trying to start IDEA 2.5 > > > > > > I tried to upgrade from IDEA 515 to 2.5 but it does not even > > start. The problem may be related to the quoting of idea home > > directory ('Program > > Files') but I am not sure. > > > > My desktop is NT 4.0 SP 6 and IDEA home is at "c:\Program > > Files\idea" . > > > > JVM is: > > java version "1.3.1" > > Java(TM) 2 Runtime Environment, Standard Edition (build > > 1.3.1-b24) Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode) > > > > The only modification I made to idea.bat is setting IDEA home > > as follows: > > > > SET IDEA_HOME="c:\Program Files\idea" > > > > All previous versions of IDEA use to run with these settings > > but with 2.5, the JVM complains that it cannot find class > > com/intellij/idea/Main > > > > Included below are a copy of my idea.bat and the runtime log > > (when enablling the echo). > > > > Any help will be greatly appreciated. > > > > Thanks, > > > > Tal > > > > > > > > ------- idea. bat --------- > > > > @echo on > > > > ::------------------------------------------------------------ > > ---------- > > :: IntelliJ IDEA Startup Script > > ::------------------------------------------------------------ > > ---------- > > > > :: > > --------------------------------------------------------------------- > > :: Before you can run IntelliJ IDEA, please, specify the > > location of the > > :: Sun's JDK 1.3 installed on your system. > > :: The JDK you specify here will be used to start IntelliJ IDEA. > > :: > > --------------------------------------------------------------------- > > IF EXIST "%JAVA_HOME%" goto java_home_exists > > > > SET JAVA_HOME=c:\jdk1.3.1 > > > > :java_home_exists > > > > :: > > --------------------------------------------------------------------- > > :: Before you run IntelliJ IDEA, please, specify the location of the > > :: directory where IntelliJ IDEA is installed > > :: > > --------------------------------------------------------------------- > > SET IDEA_HOME="c:\program files\idea" > > > > :: > > --------------------------------------------------------------------- > > :: If you have correctly set the JAVA_HOME path, then in most cases > > :: you will not need to change the settings below. > > :: > > --------------------------------------------------------------------- > > SET JAVA_EXE=%JAVA_HOME%\bin\java.exe > > > > IF NOT EXIST "%JAVA_EXE%" goto error > > > > SET JVM_ARGS=-ms16m -mx96m > > > > SET TOOLS_LIBRARY=%JAVA_HOME%\lib\tools.jar > > SET JPDA_PATH=%JAVA_HOME%\bin > > SET MAIN_CLASS_NAME=com.intellij.idea.Main > > SET OLD_PATH=%PATH% > > SET PATH=%JPDA_PATH%;%PATH% > > SET OLD_CVS_PASSFILE=%CVS_PASSFILE% > > IF "%CVS_PASSFILE%" == "" SET CVS_PASSFILE=C:\.cvspass > > > > SET > > BOOT_CLASS_PATH=%IDEA_HOME%\lib\jaxp.jar;%IDEA_HOME%\lib\crimson.jar; > > SET CLASS_PATH= > > for %%c in (%IDEA_HOME%\lib\*.zip %IDEA_HOME%\lib\*.jar) do > > call %IDEA_HOME%\bin\append.bat %%c if not "%CLASS_PATH%" == > > "" goto classpathSet echo Unable to set CLASSPATH > > dynamically. echo Setting your CLASSPATH statically. SET > > CLASS_PATH=%BOOT_CLASS_PATH%;%IDEA_HOME%\lib\idea.jar;%IDEA_HO > > ME%\lib\oromat > > cher.jar;%IDEA_HOME%\lib\icons.jar;%IDEA_HOME%\lib\jh.jar;%IDE > > A_HOME%\lib\an > > t.jar;%IDEA_HOME%\lib\junit.jar; > > > > :classPathSet > > SET CLASS_PATH=%CLASS_PATH%;%TOOLS_LIBRARY% > > > > "%JAVA_EXE%" %JVM_ARGS% -Xbootclasspath/p:%BOOT_CLASS_PATH% > > -cp "%CLASS_PATH%" -Djdk.home="%JAVA_HOME%" > > -DCVS_PASSFILE="%CVS_PASSFILE%" %MAIN_CLASS_NAME% %* SET > > PATH=%OLD_PATH% SET CVS_PASSFILE=%OLD_CVS_PASSFILE% goto end > > :error echo > > --------------------------------------------------------------------- > > echo ERROR: cannot start IntelliJ IDEA. > > echo Please, specify JAVA_HOME variable in this batch file. > > echo > > --------------------------------------------------------------------- > > pause > > :end > > > > > > > > ------- execution log (when turning 'echo' to 'on' ) > > ------------------ > > > > C:\Program Files\idea\bin>idea.bat > > > > C:\Program Files\idea\bin>IF EXIST "c:\jdk1.3.1" goto java_home_exists > > > > C:\Program Files\idea\bin>SET IDEA_HOME="c:\Program Files\idea" > > > > C:\Program Files\idea\bin>SET JAVA_EXE=c:\jdk1.3.1\bin\java.exe > > > > C:\Program Files\idea\bin>IF NOT EXIST > > "c:\jdk1.3.1\bin\java.exe" goto error > > > > C:\Program Files\idea\bin>SET JVM_ARGS=-ms16m -mx96m > > > > C:\Program Files\idea\bin>SET TOOLS_LIBRARY=c:\jdk1.3.1\lib\tools.jar > > > > C:\Program Files\idea\bin>SET JPDA_PATH=c:\jdk1.3.1\bin > > > > C:\Program Files\idea\bin>SET MAIN_CLASS_NAME=com.intellij.idea.Main > > > > C:\Program Files\idea\bin>SET > > OLD_PATH=c:\cygwin\mingw\bin;c:\cygwin\bin;d:\util\perl\bin;u:/my;u:/g > > p;C:\winnt\system32;C:\winnt;C:\Program > > Files\Perforce;C:\Program Files\Common Files\InstallShield\; > > C:\Program Files\SSH Communications Security\SSH Secure Shell > > > > C:\Program Files\idea\bin>SET > > PATH=c:\jdk1.3.1\bin;c:\cygwin\mingw\bin;c:\cygwin\bin;d:\util\perl\bi > > n;u:/my;u:/gp;C:\winnt\system32;C:\winnt;C:\Program > > Files\Perforce;C:\Program Files\Common Files\Ins > > tallShield\;C:\Program Files\SSH Communications Security\SSH > > Secure Shell > > > > C:\Program Files\idea\bin>SET OLD_CVS_PASSFILE= > > > > C:\Program Files\idea\bin>IF "" == "" SET CVS_PASSFILE=C:\.cvspass > > > > C:\Program Files\idea\bin>SET BOOT_CLASS_PATH="c:\Program > > Files\idea"\lib\jaxp.jar;"c:\Program Files \idea"\lib\crimson.jar; > > > > C:\Program Files\idea\bin>SET CLASS_PATH= > > > > C:\Program Files\idea\bin>FOR %c in ("c:\Program > > Files\idea"\lib\*.zip "c:\Program Files\idea"\lib\* > > .jar) do call "c:\Program Files\idea"\bin\append.bat %c > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\ant. jar > > > > C:\Program Files\idea\bin>SET CLASS_PATH=c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\crim son.jar > > > > C:\Program Files\idea\bin>SET CLASS_PATH=c:\Program;c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\icon s.jar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\idea .jar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\jaxp .jar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program;c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\jh.j ar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\P > > rogram; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\juni t.jar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\P > > rogram;c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\opti onal.jar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\P > > rogram;c:\Program;c:\Program; > > > > C:\Program Files\idea\bin>call "c:\Program > > Files\idea"\bin\append.bat c:\Program Files\idea\lib\orom atcher.jar > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\P > > rogram;c:\Program;c:\Program;c:\Program; > > > > C:\Program Files\idea\bin>if not > > "c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\Program; > > c:\Program;c:\Program;c:\Program;" == "" goto classpathSet > > > > C:\Program Files\idea\bin>SET > > CLASS_PATH=c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\P > > rogram;c:\Program;c:\Program;c:\Program;;c:\jdk1.3.1\lib\tools.jar > > > > C:\Program > > Files\idea\bin>"c:\jdk1.3.1\bin\java.exe" -ms16m -mx96m > > -Xbootclasspath/p:"c :\Program Fil > > es\idea"\lib\jaxp.jar;"c:\Program > > Files\idea"\lib\crimson.jar; -cp > > "c:\Program;c:\Program;c:\Program > > ;c:\Program;c:\Program;c:\Program;c:\Program;c:\Program;c:\Pro > > gram;;c:\jdk1. > > 3.1\lib\tools.jar" -Djdk > > .home="c:\jdk1.3.1" -DCVS_PASSFILE="C:\.cvspass" > > com.intellij.idea.Main Exception in thread "main" > > java.lang.NoClassDefFoundError: com/intellij/idea/Main > > > > C:\Program Files\idea\bin>SET > > PATH=c:\cygwin\mingw\bin;c:\cygwin\bin;d:\util\perl\bin;u:/my;u:/gp;C: > > \winnt\system32;C:\winnt;C:\Program Files\Perforce;C:\Program > > Files\Common Files\InstallShield\;C:\P rogram Files\SSH > > Communications Security\SSH Secure Shell > > > > C:\Program Files\idea\bin>SET CVS_PASSFILE= > > > > C:\Program Files\idea\bin>goto end > > > > C:\Program Files\idea\bin> > > > > > > _______________________________________________ > > Eap-list mailing list > > [EMAIL PROTECTED] > > http://www.intellij.com/mailman/listinfo/eap-list > > > > > _______________________________________________ > Eap-list mailing list > [EMAIL PROTECTED] > http://www.intellij.com/mailman/listinfo/eap-list _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
