Details
-
Improvement
-
Resolution: Fixed
-
Major
-
6.2-milestone-1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The code from "start_xwiki.bat" searches the registry for "HKEY_CLASSES_ROOT\jarfile\shell\open\command". There are 2 problems with this behaviour:
- if the user has set his JAVA_HOME variable to another Java version, this is not taken into account
- if the user did not install a JRE he will get this message:
Starting Jetty on port 8080, please wait...
ERROR: The system was unable to find the specified registry key or value.
The system cannot find the path specified.
Press any key to continue . . .
and XWiki won't start. But if you only have a JDK installed you can start XWiki by replacing ""%JAVA_PATH%"" with "java":
Starting Jetty on port 8080, please wait... ERROR: The system was unable to find the specified registry key or value. 2014-08-18 14:39:26,995 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Starting embedded Solr server... 2014-08-18 14:39:26,998 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Using Solr home directory: [data\solr] 2014-08-18 14:39:28,693 [coreLoadExecutor-4-thread-1] WARN o.a.s.r.ManagedResource - No stored data found for /rest/managed 2014-08-18 14:39:28,694 [coreLoadExecutor-4-thread-1] WARN o.a.s.r.ManagedResource - No registered observers for /rest/managed 2014-08-18 14:39:29,443 [main] INFO o.x.s.s.i.EmbeddedSolrInstance - Started embedded Solr server. 2014-08-18 14:39:30.189:INFO:oxtjl.NotifyListener:---------------------------------- 2014-08-18 14:39:30.191:INFO:oxtjl.NotifyListener:Server started, you can now open http://192.168.0.107:8080/ in your browser to access your wiki. 2014-08-18 14:39:30.191:INFO:oxtjl.NotifyListener:----------------------------------
Attachments
Issue Links
- relates to
-
XWIKI-12150 Windows installer fails to discover where java is located
- Closed