I am trying to compile following piece of code:
public class DuplicateMainExample { public static void main(Stri
Eclipse will never use javac. Its ability to do dynamic highlighting is intimately connected with its own compiler, which has special abilities to operate incrementally.
If you want an IDE that uses javac, you might investigate intellij.