-
Notifications
You must be signed in to change notification settings - Fork 270
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
Exception when using Java 10 #307
Comments
Have you compiled the plugin with Java 10? |
I'm using Java 10 when compiling, it's all kotlin code btw and the target is set to |
Does disabling instrumenting code help? |
Disabled instrumentation still no luck. Different but related error now:
Everything runs ok in Java 8 tho, compilation works in Java 10 but the problem is when running |
Yes, by default |
I can confirm that the bundled jdk is being used,so I think some parts in IDEA uses the jdk in the environment. The kotlin plugin is not being loaded because of the exception. |
|
I think I know the problem.
The ff path is added to the cp when running java 8: |
Nice catch! Thank you for the investigation. I think I'll be able to get into this in a week or so. Feel free to make a PR, I think I'll be able to review/merge/publish plugin using my phone :) |
Sure, I'll work on a PR. :) |
Fix tools.jar path for jbre. Also removed the lines adding the tools.jar of the JVM gradle is run on. Fixes #307
btw, 0.3.6 was published |
The kotlin plugin failed to load, error looks like Java 10ish. I'm confused, the IDE should be running the bundled jdk right?
Building against:
2018.2
, kotlin1.2.51
and Java 10.The text was updated successfully, but these errors were encountered: