Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

javacExecutablePath

Florian Breisch edited this page Feb 19, 2016 · 1 revision

Default: javac
Type: string

Description

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.