flymake error: no build file found, flymake switching off

207 Views Asked by At

When I try to use flymake on a simple java program it immediately tells me that it is switching off because it cant find a build file. I thought that flymake would make all of the files it needed to execute on its own and that all that was required for Emacs 24 was to put (require 'flymake) and (add-hook 'find-file-hook 'flymake-find-file-hook) in the .emacs file.

I am using the flymake that came with Emacs 24 on Ubuntu 14.04.

This is my first post so please tell me what I can do to improve my questions! Thank you for your time!

1

There are 1 best solutions below

0
sockmonk On

The solution is to use flycheck instead of flymake, along with the flymake-java package found on github.