Commit e61372b5 authored by Matija Obreza's avatar Matija Obreza

Troubleshooting: JRE auto-detection on Windows

parent bd974718
......@@ -11,3 +11,16 @@ The application allows users to map their Excel, CSV or database SQL queries to
This program requires Java 8 JRE.
Download the precompiled package from <https://www.genesys-pgr.org/content/uploader> extract if necessary and run the executable for your platform.
### Troubleshooting
The **WinRun4J** wrapper used for Windows OS may fail to automatically detect the Java run-time environment and fail with "Fail to find Java VM" error message.
In this case you will need to update the `Genesys Magic.ini` file and configure the `vm.location` property:
```
vm.location=C:\Program Files\Java\jre-9.0.4\bin\server\jvm.dll
```
Source: <https://stackoverflow.com/questions/28229792/winrun4j-auto-detect-jvm>
......@@ -10,13 +10,13 @@ NOTE: Make sure you don't allow the Java JRE installer to install browser toolba
WARNING: Disable Java in all Internet browsers on your computer. Java applet technology has been marked for deprecation and is seldom used today.
If downloading pre-compiled binaries, make sure to download the latest version of Anno for your platform.
Most users will have a 64-bit CPU and JRE, and should use the package labeled `x86_64`. The package `x86` is for the 32-bit JRE.
Download the package from the https://goo.gl/r5QFns[downloads section].
Extract, if necessary, and run the executable for your platform.
[cols="1,4"]
.Resources
|===
......@@ -25,3 +25,16 @@ Extract, if necessary, and run the executable for your platform.
|`git` repository|https://gitlab.croptrust.org/genesys-pgr/anno.git
|Issue tracker|https://gitlab.croptrust.org/genesys-pgr/anno/issues
|===
== Troubleshooting
The **WinRun4J** wrapper used for Windows OS may fail to automatically detect the Java run-time environment and fail with "Fail to find Java VM" error message.
In this case you will need to update the `Genesys Magic.ini` file and configure the `vm.location` property:
```
vm.location=C:\Program Files\Java\jre-9.0.4\bin\server\jvm.dll
```
Source: https://stackoverflow.com/questions/28229792/winrun4j-auto-detect-jvm[Stackoverflow]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment