FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileTestJava'.
> Error while evaluating property 'javaCompiler' of task ':compileTestJava'.
> Failed to calculate the value of task ':compileTestJava' property 'javaCompiler'.
> The configured executable does not exist (/tmp/javac)
I am unable to figure out why its looking for Javac in wrong path rather than default JAVA location.
/opt/gradle-8.7/bin/gradle build --scan
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.7/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all artifacts for configuration 'classpath'.
> Could not resolve com.gradle:gradle-enterprise-gradle-plugin:3.16.2.
Required by:
unspecified:unspecified:unspecified
> Could not resolve com.gradle:gradle-enterprise-gradle-plugin:3.16.2.
> Could not get resource '[https://plugins.gradle.org/m2/com/gradle/gradle-enterprise-gradle-plugin/3.16.2/gradle-enterprise-gradle-plugin-3.16.2.pom'.](https://plugins.gradle.org/m2/com/gradle/gradle-enterprise-gradle-plugin/3.16.2/gradle-enterprise-gradle-plugin-3.16.2.pom%27.)
> Could not GET '[https://plugins.gradle.org/m2/com/gradle/gradle-enterprise-gradle-plugin/3.16.2/gradle-enterprise-gradle-plugin-3.16.2.pom'.](https://plugins.gradle.org/m2/com/gradle/gradle-enterprise-gradle-plugin/3.16.2/gradle-enterprise-gradle-plugin-3.16.2.pom%27.) Received status code 403 from server: Forbidden
* 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.
What makes you think it is even faintly appropriate to ping a person that is totally unrelated to the conversation and that you don’t know in an open community?
That is absolutely rude and inappropriate in practically all open communities, unless there are written rules that allow it.
I’m just a user like you, and if I can and want to help I do, without total strangers summoning me to topics I’m not at all related to or have to say anything to.
You should google the term “Help Vampire” and try to avoid being one, because you show strong tendencies in that direction.
You also just hurt yourself. Because even if I could answer I might be inclined not to due to rudeness. Actually I have no idea, never seen that. I don’t even know what Fortify or sourceanalyzer should be or should do or why they should behave different with different Gradle versions. All you achieved is wasting my time, making ne write this answer and highly decreased the likelihood someone else will ever look at the topic that might know an answer as they see there is already some answer, not looking furhter whether it helped or not.