You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cloning on my computer and ran the code there is what I got:
jonben3215@cu-biot-4-10 IJava % ./gradlew installKernel
FAILURE: Build failed with an exception.
What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
I was facing the same issue. Then after going through few solutions through the web, I finally found out that downgrading your Java JDK to version - 11 will solve this issue.
So, I would suggest trying downgrading JDK to version 11 and try, this worked for me.
In this context, I wanted to mention that JJava (a supported fork of iJava), has switched the Maven for builds, and consequently can be built with any Java version (11, 17, 21, etc.).
BTW, curious why you'd need to build the kernel from source in the first place? Is this because of custom patches on top of iJava to fix some of its issues? In that case JJava may already have that fix. And if not, we'd be happy to look at the problem and address it.
Thanks for responding. I actually fixed the issue. It seems like I wrote something that gradle file, I took a closer look with my partner, and he actually caught the problem and has fixed the issue. Everything now works. Thanks.
When cloning on my computer and ran the code there is what I got:
jonben3215@cu-biot-4-10 IJava % ./gradlew installKernel
FAILURE: Build failed with an exception.
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 0s
jonben3215@cu-biot-4-10 IJava % java --version
java 17.0.10 2024-01-16 LTS
Java(TM) SE Runtime Environment (build 17.0.10+11-LTS-240)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.10+11-LTS-240, mixed mode, sharing)
jonben3215@cu-biot-4-10 IJava % gradle -v
Gradle 8.5
Build time: 2023-11-29 14:08:57 UTC
Revision: 28aca86a7180baa17117e0e5ba01d8ea9feca598
Kotlin: 1.9.20
Groovy: 3.0.17
Ant: Apache Ant(TM) version 1.10.13 compiled on January 4 2023
JVM: 21.0.1 (Homebrew 21.0.1)
OS: Mac OS X 14.2.1 aarch64
I do not know what is going on.
The text was updated successfully, but these errors were encountered: