Jump to content

XiRedIz

Members
  • Posts

    1
  • Joined

  • Last visited

XiRedIz's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello ! I can't use Gradlew setupDecompWorkspace command to get started with coding mods, it gives me this: C:\Users\CENSORED\Desktop\Dev\Mod test 1.12.2>gradlew setupDecompWorkspace FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.6'. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. C:\Users\CENSORED\Desktop\Dev\Mod test 1.12.2>gradlew --stacktrace FAILURE: Build failed with an exception. * What went wrong: Could not determine java version from '11.0.6'. * Try: Run with --info or --debug option to get more log output. * Exception is: java.lang.IllegalArgumentException: Could not determine java version from '11.0.6'. at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:68) at org.gradle.api.JavaVersion.current(JavaVersion.java:78) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:32) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:205) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) at org.gradle.launcher.Main.doAction(Main.java:33) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:55) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36) at org.gradle.launcher.GradleMain.main(GradleMain.java:23) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61) I looked on the internet for a long time and I found that this is because of my java or graddle version. That it must not be over Java 8. But I remeber having installed java 8 and in my files (C:\Program Files\Java) that I have Java 8 i think (jre1.8.0_241 and jdk1.8.0_241) and Graddle i don't understand If more information is needed I will respond as soon as possible ! Because honestly I think I missed something... Also sorry for my bad English, I'm French.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.