Error run file berekstensi .jar di ubuntu

saya menjalankan file .jar mendapati error seperti ini, mohon solusi, terimakasih

ibul@ibul-desktop:~/Downloads$ java -jar tel5.jar Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:564) at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58) Caused by: java.lang.NoClassDefFoundError: com/fazecast/jSerialComm/SerialPort at CommunicationController.getPorts(CommunicationController.java:81) at CommunicationView.(CommunicationView.java:54) at ControlsRegion.(ControlsRegion.java:33) at Main.main(Main.java:17) ... 5 more Caused by: java.lang.ClassNotFoundException: com.fazecast.jSerialComm.SerialPort at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:466) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:566) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499) ... 9 more ibul@ibul-desktop:~/Downloads$

avatar ibul
@ibul

1 Kontribusi 0 Poin

Diperbarui 5 tahun yang lalu

Tanggapan

dilihat dari pesan exception-nya java tidak bisa menemukan class com.fazecast.jSerialComm.SerialPort.

1 Jawaban:

coba

java nmfile.jar

avatar dz0mb
@dz0mb

8 Kontribusi 1 Poin

Dipost 5 tahun yang lalu

Login untuk ikut Jawaban