File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes scjp - Java Compiling and Exection flow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "scjp - Java Compiling and Exection flow" Watch "scjp - Java Compiling and Exection flow" New topic

scjp - Java Compiling and Exection flow

Srinivas Palam
Ranch Hand

Joined: Oct 20, 2005
Posts: 66
I am creating java class in eclipse and running from the dos prompt after setting class path.

javac --> compiling

java ComingThru --> executing.

Is there any switch or something I can use to check the exection flow. Like from where the clow is starting etc ... This will help in understanding the flow .
Kancharla Madhu
Ranch Hand

Joined: May 06, 2012
Posts: 109

You can debug Java Application from the command prompt. Have a look at the following link :

Champions arenĀ“t made in the gyms. Champions are made from something they have deep inside them - a DESIRE, a DREAM, a VISION
Anayonkar Shivalkar

Joined: Dec 08, 2010
Posts: 1545

Hi Srinivas,

If you are already using Eclipse IDE, then it has excellent options to debug your program. You'll need to set a break-point at any line you want to analyze and start debugging (check out 'Run' menu from toolbar).

Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
I agree. Here's the link:
subject: scjp - Java Compiling and Exection flow
It's not a secret anymore!