public static void main(String[] args) {
}

is the main method why do you have 2 of them?