exam questions

Exam 1z0-819 All Questions

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

Exam 1z0-819 topic 1 question 138 discussion

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

When running jdeps, which three ways include dependent nonmodular jar files? (Choose three.)

  • A. jdeps lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
  • B. jdeps -classpath lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
  • C. jdeps --upgrade-module-path lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
  • D. jdeps application.jar
  • E. jdeps --module-path lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
  • F. jdeps --cp lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
  • G. jdeps --class-path lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
Show Suggested Answer Hide Answer
Suggested Answer: AEF 🗳️
Community vote distribution
BEG (50%)
ABF (25%)
BCE (25%)

Comments

Chosen Answer:
This is a voting comment. You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
06d854e
5 months, 1 week ago
B. jdeps -classpath lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar F. jdeps --cp lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar G. jdeps --class-path lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar These options utilize the -classpath, --cp, or --class-path options to specify the classpath, which includes nonmodular JAR files. Note that options like --module-path or --upgrade-module-path are used for modular JAR files or modules, and the jdeps command without these options will use the default classpath behavior.
upvoted 1 times
...
ASPushkin
10 months, 3 weeks ago
Selected Answer: ABF
answer : ABF A RIGHT jdeps [options] path ... path A pathname to the .class file, directory, or JAR file to analyze. B RIGHT -cp path, -classpath path, or --class-path path Specifies where to find class files. looks like jar files also possible to include C not right this about module --upgrade-module-path modulepath.. A semicolon (;) separated list of directories in which each directory is a directory of modules that replace upgradeable modules in the runtime image D not right this is not about include dependent E FAILED about modules F same as B G same as B but there is a syntax error (--cp -> -cp)
upvoted 1 times
ASPushkin
10 months, 3 weeks ago
ABG G same as B F same as B but there is a syntax error (--cp -> -cp)
upvoted 2 times
...
...
d7bb0b2
1 year, 1 month ago
Selected Answer: BCE
B. jdeps -classpath lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar C. jdeps --upgrade-module-path lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar E. jdeps --module-path lib/file1.jar:lib/file2.jar:lib/file3.jar application.jar
upvoted 1 times
...
jshimura
1 year, 6 months ago
Selected Answer: BEG
options -classpath , --class-path and --module-path are valid. While --cp is invalid. should be -cp
upvoted 1 times
...
Stavok
1 year, 6 months ago
Selected Answer: BEG
The -classpath or --class-path option can be used to specify where to find class files 1. The --module-path option can be used to specify the module path 1.
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:
MS-700
Ashburn, 1 minute ago