I try to run GeoNetwork opensource but it fails to start
Up to Table of ContentsThis FAQ applies to: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1
Your computer is using an unsupported version of Java. Make sure you use the recommended version of Java as written in the installation notes. For version 2.0 use Java 1.4, for version 2.1 use Java 1.5.
Change the start and stop files for GeoNetwork opensource. Open the start-geonetwork.bat and stop-geonetwork.bat files in a text editor.
For the start file, change line 3:
java -Xmx512m -DSTOP.PORT=8079 -jar start.jar ..\bin\jetty.xml > log\jetty.log
to use a correct path for your Java installation, for example:
C:\Progra~1\Java\j2re1.4.2_03\bin\java -Xmx512m -DSTOP.PORT=8079 -jar start.jar ..\bin\jetty.xml > log\jetty.log
For the stop file, change line 2:
java -DSTOP.PORT=8079 -jar stop.jar
with (again your own path):
C:\Progra~1\Java\j2re1.4.2_03\bin\java -DSTOP.PORT=8079 -jar stop.jar