Linux Mint 上的 Vega 运行时错误

Linux Mint 上的 Vega 运行时错误

我从这里但当我尝试打开它时,它给出了以下错误

vega ./Vega
OpenJDK 64-Bit Server VM 
warning: Ignoring option PermSize; support was removed in 8.0 OpenJDK 64-Bit Server VM 
warning: Ignoring option MaxPermSize; support was removed in 8.0 
WARNING: An illegal reflective access operation has occurred 
WARNING: Illegal reflective access by org.eclipse.osgi.internal.baseadaptor.BaseStorage 
(file:/home/an2/vega/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar)
     to method java.net.URLClassLoader.addURL(java.net.URL) 
WARNING: Please consider reporting this to the maintainers of 
org.eclipse.osgi.internal.baseadaptor.BaseStorage 
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

这是我的 Java 版本

java -version 
openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment (build 11.0.2+9-Ubuntu-3ubuntu118.04.3) 
OpenJDK 64-Bit Server VM (build 11.0.2+9-Ubuntu-3ubuntu118.04.3, mixed mode, sharing)

我该如何解决这个错误并运行vega?

答案1

原因是使用Java-11-openjdk-amd64

打开终端并运行

sudo update-alternatives --config java

并选择Java-8-openjdk-amd64

然后再次运行 vega。

相关内容