Hi,
I think something is wrong with the startup.bat file. I changed it
every time I installed it, but I thought it might be wise to repotr
it.
The environment variable JAVA_HOME is used without quotes.
When you have java in the default directory, C:\Program
Files\Java\<javainstall>, the startup script will fail on the
following line due to the lack of quotes:
set RUN_JAVA=%JAVA_HOME%\bin\java
When you set JAVA_HOME to a quoted version, the JAVA_HOME check fails
because it tries to quote it first:
if not exist "%JAVA_HOME%\bin\java.exe"
replace:
set RUN_JAVA=%JAVA_HOME%\bin\java
by
set RUN_JAVA="%JAVA_HOME%\bin\java"
Kind regards,
Pieter
I believe Andrea may have fixed this since I had the same problem recently. It only occurs when you try to run the windows version without using the installer, hence why it’s been around for ages but nobody noticed.
Who ever runs a windows program without using an installer?!?! 
On 7/27/07, Pieter Jansen <pjansen@anonymised.com > wrote:
Hi,
I think something is wrong with the startup.bat file. I changed it
every time I installed it, but I thought it might be wise to repotr
it.
The environment variable JAVA_HOME is used without quotes.
When you have java in the default directory, C:\Program
Files\Java<javainstall>, the startup script will fail on the
following line due to the lack of quotes:
set RUN_JAVA=%JAVA_HOME%\bin\java
When you set JAVA_HOME to a quoted version, the JAVA_HOME check fails
because it tries to quote it first:
if not exist “%JAVA_HOME%\bin\java.exe”
replace:
set RUN_JAVA=%JAVA_HOME%\bin\java
by
set RUN_JAVA=“%JAVA_HOME%\bin\java”
Kind regards,
Pieter
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
On 7/27/07, Tom (JDi Solutions) <tom.dean@anonymised.com> wrote:
Who ever runs a windows program without using an installer?!?! 
I did use the installer 
Pieter
oh. 
The explanation I was given was that if you use the installer the startup links that are put in the start menu do not run the batch files. You only use the batch files for startup if you install manually and the batch files don’t work if there are spaces in the java directory or indeed the geoserver install or data directory. Andrea gave me a new startup batch file with all those things fixed so I assume it will be in the new releases. Don’t ask me what it is supposed to use to startup if you do use the installer though!
Tom
On 7/27/07, Pieter Jansen <pjansen@anonymised.com> wrote:
On 7/27/07, Tom (JDi Solutions) <tom.dean@anonymised.com> wrote:
Who ever runs a windows program without using an installer?!?! 
I did use the installer 
Pieter
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Pieter Jansen ha scritto:
On 7/27/07, Tom (JDi Solutions) <tom.dean@anonymised.com> wrote:
Who ever runs a windows program without using an installer?!?! 
I did use the installer 
Yeah, the installer creates links in the windows program menu that do
not use the batch files at all. Now, if you want to try out the
updated bat files, you can download a recent nightly and give it a spin,
get if from http://geo.openplans.org/nightly/1.5.x/
Cheers
Andrea