Eclipse won't compile/run java file

后端 未结 5 504
忘掉有多难
忘掉有多难 2021-01-01 12:15

I am just trying to compile and run a simple java program. When I go to run my tester class it says select what to run and it gives me Ant Build which when highlighted says

5条回答
  •  盖世英雄少女心
    2021-01-01 12:47

    This worked for me:

    1. Create a new project
    2. Create a class in it
    3. Add erroneous code, let error come
    4. Now go to your project
    5. Go to Problems window
    6. Double click on a error

    It starts showing compilation errors in the code.

提交回复
热议问题