-
Notifications
You must be signed in to change notification settings - Fork 17
javacExecutablePath
Default: javac
Type: string
Refers to the javac
-executable and must contain the executable itself, since the value is directly invoked to call the Java-compiler. The value defaults to javac
since we predict that you're working in a environment where javac is available on commandline - which should work on every platform out of the box.
Changing this value allows you to address a specific javac-executable, f.e. if you have different versions of the JDK installed.
Given that i have multiple JDKs installed and want to explicitly use javac 1.8.0_74 i could change the value of javacExecutablePath
to
/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/bin/javac
The example above reflects the use on Mac OS. To find out which Java-versions are available to you, check our FAQ-entry on that topic.
Please notice that placeholders (like
~
) may not work, you need to use absolute and full paths.
linter-javac
is crafted with ❤️ and 🍺 by our contributors. Earn 👍 by supporting us with use, feedback, issues or codelines!