Helioviewer-Project / JHelioviewer-SWHV

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

Application cannot run on Archlinux #243

Closed Brensom closed 1 year ago

Brensom commented 1 year ago

When I try to run I get two different errors:

% /usr/bin/jhelioviewer-swhv
2023-06-10 15:41:16.697 [main] INFO  org.helioviewer.jhv.JHelioviewer.main - JHelioviewer started with command-line options: 
2023-06-10 15:41:16.712 [main] INFO  org.helioviewer.jhv.JHVGlobals.getVersion - JHV/SWHV-4.5.0.10800 (amd64 Linux 6.3.6-arch1-1) Oracle Corporation JRE 20 7.8GB 6CPU
2023-06-10 15:41:16.723 [main] SEVERE  org.helioviewer.jhv.JHVInit.init - Failed to setup native libraries: java.lang.RuntimeException: java.io.IOException: Resource /jhv/linux-amd64/ffmpeg not found

and:

% /usr/bin/jhelioviewer-swhv
2023-06-10 15:46:45.757 [main] INFO  org.helioviewer.jhv.JHelioviewer.main - JHelioviewer started with command-line options: 
2023-06-10 15:46:45.772 [main] INFO  org.helioviewer.jhv.JHVGlobals.getVersion - JHV/SWHV-4.5.0.10800 (amd64 Linux 6.3.6-arch1-1) Oracle Corporation JRE 20 7.8GB 6CPU
2023-06-10 15:46:45.784 [main] SEVERE  org.helioviewer.jhv.JHVInit.init - Failed to setup native libraries: java.io.IOException: Resource /jhv/linux-amd64/libJNISpice.so not found
bogdanni commented 1 year ago

How do you install it? It normally comes with JRE 19.

Brensom commented 1 year ago

How do you install it? It normally comes with JRE 19.

I downloaded and ran "jhv-4.5.0.10800.bin.tar.gz" as written in the documentation. You can view the install script here: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=jhelioviewer-swhv

bogdanni commented 1 year ago

I don't know who wrote that. Could you please use the instructions from http://swhv.oma.be/user_manual/#manualinstallation ?