Which set of commands is necessary to create and run a custom runtime image from Java source files?
A. java, jdeps
B. javac, jlink
C. jar, jlink
D. javac, jar
Which set of commands is necessary to create and run a custom runtime image from Java source files?
A. java, jdeps
B. javac, jlink
C. jar, jlink
D. javac, jar
You can use the jlink tool to assemble and optimize a set of modules and their dependencies into a custom runtime image.
https://docs.oracle.com/javase/9/tools/jlink.htm
The answer is B.
D.
B.
javac, jlink