[HD Pg 0, Sec. 16.2.2 - packaging-a-module]
Posted: Mon Oct 21, 2019 12:31 pm
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
it should just be
right?
However, for running the module, you say it's
Code: Select all
c:\ocp11\moduletest>java --module-path . --module com.abc.finance.calculators.simpleinterest
Code: Select all
c:\ocp11\moduletest>java --module-path . --module simpleinterest