Chris Snider <chris.snider@...> writes: > > Changing the startup line in the :run block to the following (dropping the quotes around the JAVA_OPTS) as Jukka suggested > "%RUN_JAVA%" %JAVA_OPTS% -DGEOSERVER_DATA_DIR="%GEOSERVER_DATA_DIR%" -Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar > > Works. > > My ultimate command line: > "c:\Program Files\Java\jdk1.8.0_74\bin\java" -DGEOSERVER_DATA_DIR="F:\geoserver-2.9-SNAPSHOT\data_dir" -Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver > -jar start.jar > > Starts > > > Adding a static JAVA_OPTS before starting > F:\geoserver-2.9-SNAPSHOT\bin>set JAVA_OPTS=-Xmx4096m -Xms4096m > F:\geoserver-2.9-SNAPSHOT\bin>startup.bat > > Starts > > Generated command: > "c:\Program Files\Java\jdk1.8.0_74\bin\java" -Xmx4096m -Xms4096m -DGEOSERVER_DATA_DIR="F:\geoserver-2.9-SNAPSHOT\data_dir" -Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver > -jar start.jar
Hi, We found the reason for the issue but I suppose that this change has not been done in the code, at least http://ares.boundlessgeo.com/geoserver/master/geoserver-master-latest-bin.zip which I downloaded 10 minutes ago still has "%JAVA_OPTS%". I think that this must be corrected before next beta - also in .exe installer. Should I create a ticket or will it happen even without? -Jukka Rahkonen- Hmm. ------------------------------------------------------------------------------ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
