Page 1 of 1

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

Posted: Sat Jan 09, 2021 3:23 am
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

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

Posted: Sun Jan 10, 2021 1:37 am
by admin
Yes. Updated in 817 question bank.
thank you for your feedback!

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

Posted: Thu Sep 29, 2022 2:07 am
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.

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

Posted: Thu Sep 29, 2022 8:49 am
by admin
Yes, that is correct.

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

Posted: Thu Oct 26, 2023 12:23 pm
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

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

Posted: Sat Mar 16, 2024 3:38 pm
by cksylr
Hi,

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

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

Posted: Sat Mar 16, 2024 8:10 pm
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

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

Posted: Sat Mar 16, 2024 8:11 pm
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

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

Posted: Sun Mar 17, 2024 8:08 am
by cksylr
My fault. It should be 829 question bank. I saw same problem.

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

Posted: Sun Mar 17, 2024 9:00 am
by admin
It is already fixed in 829 as well.