This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am a java certification Aspirant and i have almost six months of java programming experience, recently came to know about this site and this discussion board looks very lively to me. I would like to know some tips for exam preprations. Can someone please suggest me the meaning and functions of these(javap.exe, javaw.exe, javah.exe) utilities found jdk1.2.2\bin directory. -Dev Prakash
javaw == java runtime that does not need a command window. Very handy for background processes and GUI applications that need no stdout and stderr commandline is probably the same as for java.exe (-h and -? product no output) javah == program to generate JNI stubs Usage: javah [options] <classes> where [options] include: -help Print this help message -classpath <path> Path from which to load classes -bootclasspath <path> Path from which to load bootstrap classes -d <dir> Output directory -o <file> Output file (only one of -d or -o may be used) -jni Generate JNI-style header file (default) -old Generate old JDK1.0-style header file -stubs Generate a stubs file -version Print version information -verbose Enable verbose output -force Always write output files <classes> are specified with their fully qualified names (for instance, java.lang.Object). javap == (seems to be, never used it) bytecode disassembler Usage: javap <options> <classes>... where options include: -b Backward compatibility with javap in JDK 1.1 -c Disassemble the code -classpath <pathlist> Specify where to find user class files -extdirs <dirs> Override location of installed extensions -help Print this usage message -J<flag> Pass <flag> directly to the runtime system -l Print line number and local variable tables -public Show only public classes and members -protected Show protected/public classes and members -package Show package/protected/public classes and members (default) -private Show all classes and members -s Print internal type signatures -bootclasspath <pathlist> Override location of class files loaded by the bootstrap class loader -verbose Print stack size, number of locals and args for methods If verifying, print reasons for failure