About Question enthuware.ocpjp.ii.v11.2.3441 :
Moderator: admin
-
- Posts: 9
- Joined: Thu Jun 27, 2019 3:42 pm
- Contact:
About Question enthuware.ocpjp.ii.v11.2.3441 :
Is --class-path a valid option for jdeps? I only see -cp and -classpath in the documentation:
https://docs.oracle.com/javase/8/docs/t ... jdeps.html
https://docs.oracle.com/javase/8/docs/t ... jdeps.html
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3441 :
Yes, it is valid. Try running java -help on the command line. It shows, among other things:
Anyway, why are you using java 8 documentation while studying for Java 11 exam?
Code: Select all
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
--class-path <class search path of directories and zip/jar files>
If you like our products and services, please help us by posting your review here.
-
- Posts: 9
- Joined: Thu Jun 27, 2019 3:42 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3441 :
I apologize. I should have looked at the URL before posting.
-
- Posts: 4
- Joined: Wed Jun 05, 2019 3:22 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3441 :
Can we remove the answer from the question?
"Based on the given options, our guess is that in this question they are just checking whether you know that -cp, -classpath, and --class-path are equivalent options and the nonmodular jars should be put on classpath instead of module-path."
"Based on the given options, our guess is that in this question they are just checking whether you know that -cp, -classpath, and --class-path are equivalent options and the nonmodular jars should be put on classpath instead of module-path."
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3441 :
The only purpose of this question is to sensitize the student about jdeps options. Most students get put off by seeing a question that is seemingly off topic and that is why we feel it is important to calm the nerves by explaining why this question is there.
If you like our products and services, please help us by posting your review here.
-
- Posts: 78
- Joined: Sun Jun 30, 2013 10:04 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3441 :
For the question
Which jdeps option(s) is/are used to include dependent nonmodular jar files?
Choice b says
----- ----- ----- -----
I believe it should be
Please confirm.
Which jdeps option(s) is/are used to include dependent nonmodular jar files?
Choice b says
Code: Select all
jdeps --upgrade-module-path file1.jar;fie2.jar app.jar
I believe it should be
Code: Select all
jdeps --upgrade-module-path file1.jar;file2.jar app.jar
Please confirm.
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.ii.v11.2.3441 :
Right. It should be file instead of fie!
thank you for your feedback!
thank you for your feedback!
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 121 guests