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

How to find out if my Java environment is properly working for linter javac?

Florian Breisch edited this page Feb 19, 2016 · 3 revisions

As a default, linter-javac needs javac to be executable directly from commandline. To prove this, you might enter your commandline and directly enter

> javac -version

this should output something like

javac 1.8.0_74

Which javac is being called?

If you'd like to find out which javac is being called, you can use

$ which javac

on *ix and

> where javac

on windows.

Which javac-executables are available to me?

You can search for all available javac-executables by invoking

$ sudo find / -name javac

on *ix (assuming you have sudo installed) or

> dir /b /s javac.exe

on windows.