'Use different compiler versions with Java Tools API JSR 199
I need to compile a source tree and the JSR 199 tools API seems perfect. However, I need to compile with different SDK versions & variants.
Is it possible to use this API with a different SDK than that the caller is running on? That is, I am running on an Oracle SDK Java 8 and I want to compile with the the Zulu Java 17 SDK.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
