Java SE 11 Developer (1Z0-819) — Question 106

Which set of commands is necessary to create and run a custom runtime image from Java source files?

Answer options

Correct answer: B

Explanation

The correct answer is B, as 'javac' compiles the Java source files into bytecode, and 'jlink' creates a custom runtime image from that bytecode. Options A, C, and D are incorrect because they involve commands that do not directly lead to creating and running a custom runtime image.