-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Could not install board java ValidatorException #7948
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
Comments
Ok seems like the flatpak build is using openjdk i think. Dont know if flatpak uses the java version of the host or not but here are the build files |
We didn't yet start the porting effort to Java9/10 so there will be incompatibilities for sure. Probably newer version enforce the SSL check that's failing
I'm checking with the IT team to make sure it's not a problem on our side; thanks for reporting! |
Also opened this ticket for the builder of the flatpak. Since java 9 the certs have changed and some got dropped. I think to resolve this they have to build against openjdk-8 and also bundle it with this version. |
Hello, I also tried all the google provided solutions (the _setx JAVA_OPTIONS -Djava.net.preferIPv4Stack=true command, I tried to add the certificates from the website manually to the java folder in the cacerts file because the website can be accessed from Chrome or Mozilla browsers, My company is not using any proxy servers but I also tried to specify no proxy in the Arduino IDE preferences window, I disabled with my IT the firewalls and the antivirus temporarily to see if it is blocked by it but the antivirus and the firewalls were not blocking it, and many more other "workarounds" found via google). Arduino IDE version 1.8.7 doesn't have any issues downloading the libraries and the boards from the https://downloads.arduino.cc/packages/package_index.json |
Hey MChima, Arduino installs it's own jre in C:\Program Files (x86)\Arduino\java\ and that cacerts file needs to be updated! So try to manually import the certs into the cacerts file in the JRE which was installed in the Arduino directory! (not in the global java directory!) |
Hi MattCosturos, Thank you very much for the suggestion, I did not knew that Arduino uses his own java !
|
Tried to download Boardinformation from
but only get an java Exception. Here is the stacktrace.
Seems like an cacert is missing here?
Using ArduinoIDE version 1.8.5 provided by flathub.
Using java version
The text was updated successfully, but these errors were encountered: