Page 1 of 1

[HD Pg 0, Sec. 16.2.2 - packaging-a-module]

Posted: Mon Oct 21, 2019 12:31 pm
by DazedTurtle
I don't know if this counts as "errata" or not, but earlier in the chapter, it said that for the purpose of this chapter, the FQCN of our class would be "simpleinterest.SimpleInterestCalculator" instead of "com.abc.finance.calculators.simpleinterest.SimpleInterestCalculator."

However, for running the module, you say it's

Code: Select all

c:\ocp11\moduletest>java --module-path . --module com.abc.finance.calculators.simpleinterest
it should just be

Code: Select all

c:\ocp11\moduletest>java --module-path . --module simpleinterest
right?

Re: [HD Pg 0, Sec. 16.2.2 - packaging-a-module]

Posted: Mon Oct 21, 2019 10:21 pm
by admin
You are right. Since the name of the module is just simpleinterest, it should be --module simpleinterest and not --module com.abc.finance.calculators.simpleinterest

Added to errata.
thank you for your feedback!