Whenever I run my program. A info window pops out. The tiltle is: Confirm Perspective Swith.
The content below is: This kind of launch is configured to open the Debug perspective when it suspends.
This Debug perspective is designed to support application debugging. It incorporates views for displaying the debug stack, variables and breakpoint management.
Do you want to open this perspective window?
Is there something wrong with my eclipse setting or the codes.
It would seem that you are running it in Debug mode (which is not a bad idea in itself).
There's nothing wrong, you don't need to switch the perspective if you don't want to (and I think there's a "don't ask me again" option).