0

I installed vega from Here but when I was trying to open it its gives me following error

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

Here is my java version

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)

How can I solved this error and run vega?

Antu
  • 103
  • 1
    I don't see an error. All I see are warnings and an advice. "WARNING: Please > consider reporting this to the maintainers of org.eclipse.osgi.internal.baseadaptor.BaseStorage". Please follow up on that. If vega does not run it should not be due to these messages. – Rinzwind May 02 '19 at 08:13
  • 2
    Have you tried installing there posted requirement: sudo apt-get install libwebkitgtk-1.0 (taken from the linked site) – tannerli May 02 '19 at 08:14
  • I already do that @tannerli – Antu May 02 '19 at 08:15
  • What version of Java are you running? You can probably find out by executing ls -l /etc/alternatives/java If it's a version 11, it might be helpful to explicitly install openjdk-8-jre and try with that one – tannerli May 02 '19 at 08:25
  • After running ls -l /etc/alternatives/java it's returning this lrwxrwxrwx 1 root root 43 Jul 11 2018 /etc/alternatives/java -> /usr/lib/jvm/java-11-openjdk-amd64/bin/java – Antu May 02 '19 at 08:26
  • Linux Mint is Ubuntu-based, but not an official Ubuntu flavour thus off-topic here. – Fabby May 05 '19 at 18:59

1 Answers1

0

The cause is for using java-11-openjdk-amd64

open terminal and run

sudo update-alternatives --config java

and choose java-8-openjdk-amd64

and run vega again.

Antu
  • 103