Every time I wish to run a java program, java applet pops up with a solution of previous program. How to get the new program be executed and displayed in console?
Asked
Active
Viewed 69 times
0
-
1Right click over your Eclipse project or over the class that contains your main method: `Run As > Java Application`. – António Ribeiro Feb 14 '16 at 20:58
1 Answers
0
Try clicking the little down arrow on the run button and click "Run configurations..." and on the left side delete the one with the name of your class. Now run it again and a window will pop up. Select "Java application" and it will run just fine.

Aaron Priesterroth
- 307
- 2
- 4
- 17