Issue with some libraries when using VSCode and Codespaces #120880
Replies: 1 comment
-
Nevermind, I solved it by installing the missing packages by my own using Exactly these ones:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hi.
I'm having problems with Codespaces and VSCode since I started using JNativeHook, which requires some libraries when using an Linux environment.
The thing is that this library uses some packages for x11 support that I can't manage to install on my codespaces in order to run my code there.
If I run it through a local VSCode , everything works fine (despite of the bugs of my code hahaha), but if I do it with Codespaces, this happens:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /workspaces/textari/src/libs/libJNativeHook-2.2.2.x86_64.so: libXtst.so.6: cannot open shared object file: No such file or directory at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442) at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498) at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627) at java.base/java.lang.Runtime.load0(Runtime.java:768) at java.base/java.lang.System.load(System.java:1837) at com.github.kwhat.jnativehook.GlobalScreen.<clinit>(GlobalScreen.java:84) at main.libs.listener.main(listener.java:30) at main.libs.proto.editInitCall(proto.java:21) at main.libs.proto.main(proto.java:14) at main.libs.sanCLI.climain.main(climain.java:63) at main.run_me.main(run_me.java:4)
I'm 90% sure that this problem is caused by the lack of the required libraries that I mentioned before, so I really need a way to install them on every codespaces I use, if it is possible obviouslly
For anyone interested, the repo where's the trouble is this one, not relevant buy maybe someone wants to take a look
Anyways, thank you for reading this and I hope someone can help me, sorry for the trouble.
Beta Was this translation helpful? Give feedback.
All reactions