-
Notifications
You must be signed in to change notification settings - Fork 132
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
The included jrexxx java is version 16 which is incompatible with Sloeber #1384
Comments
Here is the full log |
Also wondering ... should this not be part of the product only. |
Java is not part of the plugin, it is only part of the product. |
We can try a couple of things:
|
Option 1 is tried first. Please check from the result after Action https://github.com/Sloeber/arduino-eclipse-plugin/actions/runs/1233509983 has been built. |
I installed a fresh Eclipse with the Eclipse installer and selected java16. Then I installed Sloeber from the update site ^^ After restart Sloeber plugins worked as expected. However, this was not solved by gson 2.8.8 but by the fact that Eclipse now come by default with --illegal-access=permit When above is added to the Sloeber.ini/Eclipse.ini then Sloeber can continue as usual. |
I was mistaken due to the fact that the eclipse install already used jrexxx. I assumed the eclipse install used my system 11 jre and after sloeber install switched to jrexx. But it was running on jrexx all the time. @wimjongman thanks for the support. |
This is fixed but as this was a nightly only issue I'll simply close the issue |
to workaround this issue, add the following line to your eclipse.ini or sloeber.ini
--illegal-access=permit
Issue #1376 includes java as part of the sloeber plugin.
During investigation of #1361 we asked to install the latest version and then the json parsing failed.
I successfully reproduced this issue on my system.
In the log I can see that java 16 is being used.
As we know from issue #1339 sloeber does not work with java16 or higher due to the new security rules
As such we should limit the java version that is included to below version 16
I assume this issue comes up because jrexxx released a new version recently
I think this is related to google/gson#1540 where a solution is proposed which I fail to understand.
The text was updated successfully, but these errors were encountered: