Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I run this on a distro that doesn't already have usb4java? #38

Open
Xeraster opened this issue Jul 7, 2023 · 0 comments
Open

Comments

@Xeraster
Copy link

Xeraster commented Jul 7, 2023

This seems to work fine on Ubuntu, or at least the version I was using did. I had to reinstall my os so I went with Debian. This won't run on Debian. I can run the deb package installer and it installs but it doesn't run. When I try to run the jar file from the terminal with java -jar LogiGSK.jar, I get the following error:

Error: Unable to initialize main class Logi.GSeries.Keyboard.LogiGSK Caused by: java.lang.NoClassDefFoundError: org/usb4java/LibUsbException

There is no instance of a "usb4java" or a "libusb4java" or anything similar in any Debian or Arch repository. I tried compiling usb4java myself but it gives me this error.
fatal error: jni.h: No such file or directory 10 | #include <jni.h>
Anyway, Debian ended up not working on that pc due to nvidia driver issues so I installed Arch instead. Same exact problem and I'm stuck at the same dead end - I can't overcome the missing jni.h problem.

Has anyone figured out how to make it work on Arch (or Debian) yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant