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

linux Mint19 can not run sh run.sh #12

Closed
dragon220321 opened this issue Feb 8, 2020 · 4 comments
Closed

linux Mint19 can not run sh run.sh #12

dragon220321 opened this issue Feb 8, 2020 · 4 comments

Comments

@dragon220321
Copy link

OS:Linux Mint 19.3 Cinnamon
Java: openjdk version "11.0.4" 2019-07-16
vlc:3.0.8
arctime-pro:2.3

can not run sh run.sh

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.bulenkov.darcula.DarculaLaf (file:/home/user01/ARCTIME_PRO_2.3_LINUX/ArcTime_lib/darcula.jar) to field javax.swing.text.html.HTMLEditorKit.DEFAULT_STYLES_KEY
WARNING: Please consider reporting this to the maintainers of com.bulenkov.darcula.DarculaLaf
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/awt/AWTUtilities$Translucency
at org.arctime.main.ArcTime.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: com.sun.awt.AWTUtilities$Translucency
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 1 more

@dragon220321
Copy link
Author

It works well now.

When I change Java version from Java11 to Java8 and it works well.It is Incompatible with java11.

sudo apt install openjdk-8-jdk

sudo update-alternatives --config java

@dragon220321
Copy link
Author

It still can not work well on Linux Mint 19.3 Cinnamon.Maybe it can not detect VLC on my mint OS.
The error log:
Exception in thread "Thread-3" java.lang.NullPointerException
at uk.co.caprica.vlcj.factory.discovery.strategy.BaseNativeDiscoveryStrategy.discover(BaseNativeDiscoveryStrategy.java:68)
at uk.co.caprica.vlcj.factory.discovery.NativeDiscovery.discover(NativeDiscovery.java:112)
at org.arctime.main.p.run(Unknown Source)

I have added vlc path to ./tools/config/vlcpath.txt , and have tried reinstall VLC, but it didn't work.
Now I use arctime on windows platform.So delicious!

@acely
Copy link
Owner

acely commented Jul 16, 2020

@dragon220321 Yes, it's currently not compatable with java 9 or later version, it's only compatable with java 8.
I've already fixed the vlc loading problem, the fix will come with arctime 2.4.1 release.
Thanks for your infomations!

@acely
Copy link
Owner

acely commented Jul 21, 2020

Duplicate of #16

@acely acely marked this as a duplicate of #16 Jul 21, 2020
@acely acely closed this as completed Jul 21, 2020
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

2 participants