exam questions

Exam 1z0-819 All Questions

View all questions & answers for the 1z0-819 exam

Exam 1z0-819 topic 1 question 106 discussion

Actual exam question from Oracle's 1z0-819
Question #: 106
Topic #: 1
[All 1z0-819 Questions]

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. javac,jar
  • D. jar,jlink
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ASPushkin
2 months ago
Selected Answer: B
jlink to assemble and optimize a set of modules and their dependencies into a custom runtime image. module - class/jar directory structure javac - source code to class (bytecode) jar - class(bytecode) to jar B. javac, jlink correct D. jar, jlink - failed
upvoted 1 times
...
d7bb0b2
12 months ago
B is correct
upvoted 1 times
...
Stavok
1 year, 5 months ago
Selected Answer: B
The correct answer is B. To create and run a custom runtime image from Java source files, you need to use the `javac` and `jlink` commands. First, you use the `javac` command to compile the Java source files into class files. Then, you use the `jlink` command to create a custom runtime image that includes only the modules required by your application. Once the custom runtime image is created, you can run your application using the `java` command from within the custom runtime image.
upvoted 4 times
...
belal97
1 year, 5 months ago
Selected Answer: B
javac jlink
upvoted 1 times
...
KiraguJohn
1 year, 5 months ago
C is the correct answer javac, jlink
upvoted 1 times
...
belal97
1 year, 5 months ago
Is the answer correct??
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago