This content has been marked as final.
Show 6 replies
-
1. Re: Doesn´t run (Windows 2000, JDK6)
jaikiran Nov 7, 2008 6:08 AM (in response to majiy)When I run the run.bat I do not get any message (no error, no "started in x seconds").
From the command prompt, post the output ofecho %JAVA_HOME%
-
2. Re: Doesn´t run (Windows 2000, JDK6)
majiy Nov 7, 2008 6:11 AM (in response to majiy)"jaikiran" wrote:
When I run the run.bat I do not get any message (no error, no "started in x seconds").
From the command prompt, post the output ofecho %JAVA_HOME%
C:\Programme\Java\jdk1.6.0_07\bin -
3. Re: Doesn´t run (Windows 2000, JDK6)
itsme Nov 7, 2008 6:24 AM (in response to majiy)JAVA_HOME should point to parent directory of the bin folder. In your case JAVA_HOME should be set to
C:\Programme\Java\jdk1.6.0_07\
-
4. Re: Doesn´t run (Windows 2000, JDK6)
majiy Nov 7, 2008 6:43 AM (in response to majiy)"itsme" wrote:
JAVA_HOME should point to parent directory of the bin folder. In your case JAVA_HOME should be set toC:\Programme\Java\jdk1.6.0_07\
I now changed JAVA_HOME (now points to "C:\Programme\Java\jdk1.6.0_07"), but it´s still the same. No output, no connection to localhost:8080. -
5. Re: Doesn´t run (Windows 2000, JDK6)
jaikiran Nov 7, 2008 8:20 AM (in response to majiy)Do this:
- Open the run.bat in a text editor
- Remove the first line which contains @echo off. Save the file
- Go to command prompt and run the run.bat
- Post the output here.
If the error is related to 'findstr' then have a look at http://wiki.jboss.org/wiki/FindstrCommandNotFound -
6. Re: Doesnt run (Windows 2000, JDK6)
majiy Nov 7, 2008 8:49 AM (in response to majiy)This seems to have been the problem.
I out-commented the following two lines:"%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul if not errorlevel == 1 (set JAVA_OPTS=%JAVA_OPTS% -server)
and replaced them with the following lineset JAVA_OPTS=%JAVA_OPTS% -server
Now it works properly. Thanks a lot :)
But I´m still slightly confused how it doesn´t seem to find the "findstr.exe". It is placed inside the "WINNT\System32\" directory, which is included in the PATH environmental variable.