MAVGCL icon indicating copy to clipboard operation
MAVGCL copied to clipboard

Failed to launch JVM, on Windows

Open realstone1 opened this issue 1 year ago • 1 comments

Hi.

I am trying to use MAVGAnalysis in a Windows environment. (JDK-21.0.2, JavaFX21.0.2 jmods, and apache-maven-3.9.6.)

After several attempts, I successfully built MAVGAnalysis on a Windows 11.

The only change is the versions of javacv and javacv-platform in the pom.xml from 1.5.9-SNAPSHOT to 1.5.9.

  • https://mvnrepository.com/artifact/org.bytedeco/javacv/1.5.9
  • https://mvnrepository.com/artifact/org.bytedeco/javacv-platform/1.5.9

Furthermore, after successfully packaging it into an MSI file, the installation process proceeded without any issues. (Here, I modified the package-windows.sh to use MAVGAnalysis.ico instead of MAVGAnalysis.icns. I generated ico file on the MAVGCL folder and also added the include statement for MAVGAnalysis.ico in the build.xml.)

However, upon executing MAVGAnalysis.exe, I encountered the 'Failed to launch JVM' message.

Unfortunately, I couldn't find a solution from this point onward.

If anyone has experienced the same issue or knows a solution, please share it.

https://github.com/realstone1/MAVGCL

realstone1 avatar Feb 25 '24 16:02 realstone1