Question: how to run xjc in eclipse?
Answer: In the settings window, Tools | External Tools - "Your command name" will appear. All you need is to open your schema file and run the command. i.e. unzip and copy to eclipse/plugin folder. It adds an entry "JAXB 2.1 > Run XJC" to the context menu of *.