Error starting modern compiler

他の人の作成したプロジェクトをEclipseにインポートして実行したところ、表題のエラー発生。
調べてみたところ、下記ページがひっかかりました。

http://www.pitr.net/index.php/2006/12/17/error-starting-modern-compiler/

The eclipse/java error “Error starting modern compiler” when trying to compile something using javac in eclipse is being caused by eclipse using a different java VM than the one JAVA_HOME is pointing to.

どうやらコンパイルに使用するjava VMの版数が違うらしい。
そこで、build.xmlを右クリックから
[実行]-[Antビルド...]より、JREタブ選択し、[ワークスペースと同じJREで実行]を選択で
正常にコンパイル通りました。めでたしめでたし。