Package org.apache.maven.toolchain.java
Interface JavaToolchain
- All Superinterfaces:
Toolchain
- All Known Implementing Classes:
DefaultJavaToolChain,JavaToolchainImpl
JDK toolchain interface.
- Since:
- 2.0.9, renamed from JavaToolChain in 3.2.4
- Author:
- Jason van Zyl, Milos Kleint
-
Method Summary
Modifier and TypeMethodDescriptionReturns the home directory of the JDK.Returns the version of the JDK.
-
Method Details
-
getJavaHome
String getJavaHome()Returns the home directory of the JDK.- Since:
- 3.10.0
-
getJavaVersion
ArtifactVersion getJavaVersion()Returns the version of the JDK.- Since:
- 3.10.0
-