This package will lint your .java
opened files in Atom through javac.
- Install java.
$ apm install linter
(if you don't have AtomLinter/Linter installed).$ apm install linter-javac
You can configure linter-javac by editing ~/.atom/config.cson (choose Open Your Config in Atom menu):
'linter-javacs':
'javaExecutablePath': null # java path. run 'which javac' to find the path
If your open project has a '.classpath' file in the top-level directory, linter-javac will parse the paths and add them to the compiler classpath
There are other linters available - take a look at the linters mainpage.