Hi! I have an issue with running build and test ta...
# community-support
s
Hi! I have an issue with running build and test tasks for a java 1.8 subproject where I have both
x86_64
and
arm64
1.8 JDK installed. The Issue is that i want to force selection by the arch as well as other properties (like java 1.8). is there a way to have a specific task select a specific JVM selected by a custom property set, including architecture, while other tasks remain with the default JDK? how about just selecting JDK for the entire subproject? is there a way to select by arch?
listing 1.8 JDKs:
Copy code
/usr/libexec/java_home -V -v 1.8
Matching Java Virtual Machines (3):
    1.8.0_422 (arm64) "Amazon" - "Amazon Corretto 8" /Users/shlomi/Library/Java/JavaVirtualMachines/corretto-1.8.0_422/Contents/Home
    1.8.0_382 (arm64) "Amazon" - "Amazon Corretto 8" /Users/shlomi/Library/Java/JavaVirtualMachines/corretto-1.8.0_382/Contents/Home
    1.8.0_382 (x86_64) "Eclipse Temurin" - "Eclipse Temurin 8" /Users/shlomi/Library/Java/JavaVirtualMachines/temurin-1.8.0_382/Contents/Home
/Users/shlomi/Library/Java/JavaVirtualMachines/corretto-1.8.0_422/Contents/Home