Part 2 Flashcards
What command (CLI) can we use to run a Java application?
java
eg: $ java Main
What command (CLI) we can use to compile Java source code to bytecode and create a class file?
javac
eg: $ javac Main.java
What command (CLI) we can use to disassemble one or more class files?
javap
What command (CLI) we can use to create JMOD files and list the content of existing JMOD files?
jmod
What command (CLI) we can use to generate HTML pages of API documentation from Java source files?
javadoc
How we can check with command (CLI) the java version?
java -version
What command we can use to manage a keystore(database) of cryptographic keys?
keytool
How we can sign and verify Java Archive files (JAR)? (CLI)
jarsigner
What command (CLI) we can use to read and write a plain text policy file based on user input through the utility GUI?
policytool
What command (CLI) we can use to start a graphical console to monitor and manage Java applications?
jconsole
What command we can use to list the instrumented JVMs on the target systems?
jps
What command we can use to launch Java Mission Control (JMS) - profiling monitoring diagnostics tool suite?
jmc
What compiler’s javac command line option defines directory paths in search of classes?
javac -classpath
What interpreter’s command line option defines directory paths to use at runtime?
java -classpath
What interpreter’s command line option we can use to set a system property value, what is its syntax?
java -D
java -Dproperty=value