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

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
wombat747
Posts: 1
Joined: Mon Apr 13, 2020 3:23 am
Contact:

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

Post 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:

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

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

Post 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!

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests