-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
Restrict toolchain vendor to ADOPTIUM
#16
Comments
If a specific vendor is to be enforced, it should be microsoft, since this is what Mojang ships with the game by default. |
EDIT: seems like gradle only allows switching between "any" and "openJ9" :/ |
You're thinking java.toolchain.vendor = JvmVendorSpec.MICROSOFT That said - the real solution here is to avoid needing a full decomp/recomp cycle to set up the local environment! |
Yes, exactly what I said. Gradle does not currently allow specifying
that is true, but in absence of someone making that PR, the quickest 'fix' is to at least provide a better error message. |
It allows specifying "openj9" or "whatever" for implementation, yes, but it also allows specifying vendor - so just specify Microsoft as the vendor and you'll get their openjdk - the "vendor specific" implementation for Microsoft is hotspot |
I am an IBM Semeru user and when I tried to
./gradlew build
the MDK I stuck atneoFormRecompile
, where the compiler failed to find thejdk.jfr
package.Since all Neo projects need to do the recompile process, the toolchain vendor should be restricted, at least out of the
J9
implementation, to prevent beginners stuck at the same point as me.What I tried to do is to remove all the caches and then add a line in
build.gradle
:and it worked.
Many Thanks.
The text was updated successfully, but these errors were encountered: