Helioviewer-Project / JHelioviewer-SWHV

Space Weather JHelioviewer ☉
https://swhv.oma.be
Mozilla Public License 2.0
49 stars 16 forks source link

Windows run fails with: "Resource /jhv/windows-amd64/JNISpice.dll not found" #265

Closed eabase closed 6 months ago

eabase commented 9 months ago

Trying to follow the Windows guide to setup jhv, fails.

Running on Windows-11 Pro, with Java

# java --version
java 21.0.2 2024-01-16 LTS
Java(TM) SE Runtime Environment (build 21.0.2+13-LTS-58)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.2+13-LTS-58, mixed mode, sharing)

The running:

# java --add-exports java.desktop/sun.awt=ALL-UNNAMED -cp JHelioviewer.jar:natives-windows.jar -jar .\JHelioviewer.jar

2024-02-14 05:31:06.219 [main] INFO  org.helioviewer.jhv.JHelioviewer.main - JHelioviewer started with command-line options:
2024-02-14 05:31:06.241 [main] INFO  org.helioviewer.jhv.JHVGlobals.getVersion - JHV/SWHV-4.6.1.10929 (amd64 Windows 11 10.0) Oracle Corporation JRE 21.0.2 15.9GB 20CPU
2024-02-14 05:31:06.263 [main] SEVERE  org.helioviewer.jhv.JHVInit.init - Failed to setup native libraries: java.io.IOException: Resource /jhv/windows-amd64/JNISpice.dll not found
bogdanni commented 9 months ago

Did you try the installer and didn't work for you? Are in some corporate network with network file shares?

bogdanni commented 9 months ago

In Windows terminal you may need a semicolon, like in JHelioviewer.jar;natives-windows.jar

bogdanni commented 6 months ago

User does not run JHV as instructed.