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

Error: Could not create the Java Virtual Machine (Ubuntu 18.04) #5701

Closed
yvig opened this issue Nov 10, 2018 · 1 comment
Closed

Error: Could not create the Java Virtual Machine (Ubuntu 18.04) #5701

yvig opened this issue Nov 10, 2018 · 1 comment

Comments

@yvig
Copy link

yvig commented Nov 10, 2018

After installing processing, I tried to launch it and received this message

-Djava.ext.dirs=/usr/share/processing/processing-3.4/java/lib/ext is not supported. Use -classpath instead. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
My java version was

anne@anne-Aspire-5810T:~$ java -version openjdk version "10.0.2" 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.2, mixed mode)
anne@anne-Aspire-5810T:~$ javac -version javac 10.0.2

I changed it in a Oracle one after reading in this page https://github.com/processing/processing/wiki/Supported-Platforms that "Due to incompatibilities, OpenJDK is not supported. "

Now my java version is
anne@anne-Aspire-5810T:~$ java -version java version "11.0.1" 2018-10-16 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
anne@anne-Aspire-5810T:~$ javac -version javac 11.0.1

but the problem remains.

@benfry
Copy link
Contributor

benfry commented Jan 12, 2019

Use Oracle Java 8

@benfry benfry closed this as completed Jan 12, 2019
@processing processing deleted a comment from SmantikVJ Jun 11, 2019
@processing processing locked as resolved and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants