Page 1 of 1

[HD Pg 0, Sec. 16.2.1 - compiling-individual-module-source-files]

Posted: Mon Apr 13, 2020 11:12 pm
by wombat747
A couple of typos here .. i believe the command should read as follows : -

javac -d out\simpleinterest src\simpleinterest\module-info.java src\simpleinterest\simpleinterest\SimpleInterestCalculator.java

I am running this command on WLS Ubuntu, so command looks like this
javac -d out/simpleinterest src/simpleinterest/module-info.java src/simpleinterest/simpleinterest/SimpleInterestCalculator.java

:geek:

Re: [HD Pg 0, Sec. 16.2.1 - compiling-individual-module-source-files]

Posted: Wed Apr 15, 2020 1:33 am
by admin
You are right. Added to errata.


Regarding \ and / it is mentioned at the beginning of the book on page 22 (Note) that *nix users should use forward slash instead of backslash.

thank you for your feedback!