I have an error, How to fix it in linux elemetary os? I install JDK 11 on my os when i type ./sdkmanager show this error I install android studio but not running because require sdk
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.se.ee not found
I'm using Mint 19 and openJDK11 installed. After a lot of searches and failures, I finally made these things(thanks to the contributors):
openjdk10... wget
from this link
sudo update-alternatives --install /usr/bin/java java \ .../jdk-10.0.2/bin/java 1
sudo update-alternatives --install /usr/bin/javac javac \ .../jdk-10.0.2/bin/javac 1
sudo update-alternatives --config java
sudo update-alternatives --config javac
java --version
javac --version
.../jdk-10.0.2/bin/java --version
../jdk-10.0.2/lib/security/cacerts
FOR /usr/lib/jvm/default-java/lib/security/cacerts
JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee
.../tools/bin/sdkmanager
please try to switch to JDK 8, this solved my issue.
Double check here as well.
Hope it helps.
The only option we have is to downgrade the java version.
My java version is 12
.
I wasted a few hours trying to resolve flutter doctor --android-licenses
.
After a ton of SO, github, googling I found this article regarding the deprecation of Java EE modules
I had to downgrade my java version to 1.8.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With