-
Building Conductor v3.1.0 on my local home machine works fine but when building at my work location we are getting an InvalidArgumentException when building the common module:
At my work location we cannot go out to the Internet to get packages so I know that is the cause but I cannot figure out what is the source of the error. We have an internal artifactory repo that houses our packages so all the 'repositories' sections in our build.gradle files have to point to that artifactory instance. I know that this is a result of setting options.release=8 in the main build.gradle file for the common module but I cannot figure out how to fix it. I am using AdoptOpenJDK v11.0.6 as the JDK in my path and that is what JAVA_HOME is pointing to as well. All of my google searches have solved the same error when using maven or IntelliJ IDEA and they say that the metadata files for those tools point to the wrong JDK but this is building from the command line of GitBash using gradlew. Any help would be much appreciated if anyone is facing this same issue. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
I faced this issue today when JAVA 8 was installed on my machine. Once I installed Open JDK JAVA 11 the issue got fixed. My machine is ubuntu. I don't have JAVA_HOME set Are you using gradle or gradlew? Looks like slightly older Gradle versions had an issue with AdoptOpenJDK. gradlew downloads the version mentioned in the gradle properties file |
Beta Was this translation helpful? Give feedback.
-
@guru1306 thanks...i am using gradlew which is using 6.8.3. I upgraded to your version ov openjdk (11.0.11) and am still having the same problem, I even removed JAVA_HOME. There must be something else to do with my environment or it is GitBash vs Ubuntu... |
Beta Was this translation helpful? Give feedback.
-
Trying to build and run conductor instance through intellij but getting the error : *** What went wrong:
I have my module sdk pointing to JDK 11 . |
Beta Was this translation helpful? Give feedback.
@guru1306 thanks...i am using gradlew which is using 6.8.3. I upgraded to your version ov openjdk (11.0.11) and am still having the same problem, I even removed JAVA_HOME. There must be something else to do with my environment or it is GitBash vs Ubuntu...