About Question enthuware.ocpjp.i.v11.2.3027 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
teodorj
Posts: 28
Joined: Tue Jun 19, 2018 10:27 am
Contact:

About Question enthuware.ocpjp.i.v11.2.3027 :

Post by teodorj »

In the explanation..
4. --module-path or -p: This option specifies the location(s) of any other module upon which the module to be compiled depends and is very versatile. You can specify the exploded module directories, directories containing modular jars, or specific modular jars here.
For example, if you want to compile moduleA and it depends on another module named abc.util packaged as utils.jar located in thirdpartymodules directory then your module-path can be thirdpartymodules or thirdpartymodules/utils.jar. That both the
following two commands will work:

javac --module-source-path src --module-path thirdpartymodules -d out --module moduleA
and
javac --module-source-path src --module-path thirdpartymodulesutils.jar -d out --module moduleA

I think the --module-path parameter should contain slash like below:
javac --module-source-path src --module-path thirdpartymodules/utils.jar -d out --module moduleA

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by admin »

Yes. Updated in 817 question bank.
thank you for your feedback!

sohamdatey22
Posts: 28
Joined: Sun Sep 11, 2022 3:55 am
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by sohamdatey22 »

javac --module-source-path src -d out src/moduleA/a/A.java

my understanding is, the above line will just compile file A.java, it will not compile, the whole module and other modules that moduleA depends upon, to compile moduleA, with other dependencies(modules), we have to write below command,

javac --module-source-path src -d out -m moduleA

please correct me if wrong, thanks for this community, I am loving it.

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by admin »

Yes, that is correct.

apushkinn
Posts: 1
Joined: Thu Oct 26, 2023 12:17 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by apushkinn »

sohamdatey22 wrote:
Thu Sep 29, 2022 2:07 am
javac --module-source-path src -d out src/moduleA/a/A.java

my understanding is, the above line will just compile file A.java, it will not compile, the whole module and other modules that moduleA depends upon, to compile moduleA, with other dependencies(modules), we have to write below command,

javac --module-source-path src -d out -m moduleA

please correct me if wrong, thanks for this community, I am loving it.

could be
javac --module-source-path src -d out --module moduleA
as well

cksylr
Posts: 3
Joined: Tue Feb 20, 2024 12:59 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by cksylr »

Hi,

Can you fix the problem in 819 bank question?
enthuware.ocpjp.v17.2.3027

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by admin »

I see that it is already fixed in the 819 question bank. Which version of the question bank are you using? Please download the latest from enthuware.com/downloads/1z0-819.ets

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by admin »

I see that it is already fixed in the 819 question bank. Which version of the question bank are you using? Please download the latest from enthuware.com/downloads/1z0-819.ets

cksylr
Posts: 3
Joined: Tue Feb 20, 2024 12:59 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by cksylr »

My fault. It should be 829 question bank. I saw same problem.

admin
Site Admin
Posts: 10384
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.i.v11.2.3027 :

Post by admin »

It is already fixed in 829 as well.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests