| Author |
javac -g command
|
Asanka Vithanage
Ranch Hand
Joined: Oct 24, 2008
Posts: 59
|
|
hai ranchers please can anybody expliain the use of java -g method
|
SCJP 1.5 (94%)
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9191
|
|
Asanka you have written javac in the heading and java in the content. Anyway -g is an option of javac command. It is used for debugging. I don't know the details but I sure know that this is not a part of SCJP...
|
SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
|
 |
Asanka Vithanage
Ranch Hand
Joined: Oct 24, 2008
Posts: 59
|
|
thank you ankit for you'r reply sorry for my mistake i found this in kathhy sirra 1.5 book in page 761 i want to know what is happen after executing bellow command i did this .but couldn,t understand actually what is happening javac -classpath com:. -g Foo.java Bar.java they didn,t explain it i want to know what the meanning of colon( and -g in above command
|
 |
Ankit Garg
Saloon Keeper
Joined: Aug 03, 2008
Posts: 9191
|
|
|
: (color) is a path separator in Linux just like ; (semicolon) in Windows. -g is not in the objectives I think...
|
 |
dipankar Saha Roy
Greenhorn
Joined: Jul 25, 2008
Posts: 2
|
|
|
javac -g gives us all debugging info of .java file when it is compiled by javac -g command
|
 |
 |
|
|
subject: javac -g command
|
|
|