prepare to run on eclipse and netbeans