Skip to content

Conversation

@candrews
Copy link

@candrews candrews commented Sep 7, 2022

By default, Gradle won't specify a target Java version so it will produce bytecode for whatever JDK runs the build, meaning if JDK 17 is used, Java classes for 17 will be produced. This output won't work with Fortify since it runs Java 8. Therefore, the target version must be set to 1.8 for the output to be usable.

See: https://docs.gradle.org/current/userguide/java_plugin.html

By default, Gradle won't specify a target Java version so it will produce bytecode for whatever JDK runs the build, meaning if JDK 17 is used, Java classes for 17 will be produced. This output won't work with Fortify since it runs Java 8. Therefore, the target version must be set to 1.8 for the output to be usable.

See: https://docs.gradle.org/current/userguide/java_plugin.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant