Win a copy of Zero to AI - A non-technical, hype-free guide to prospering in the AI era this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Paul Clapham
  • Bear Bibeault
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • salvin francis
  • Scott Selikoff
  • fred rosenberger

possible erratum sybex 816, Java 11 OCP, appendix

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On page 646, table A5, Show module resolution, the --describe-module flag is redundant (and ignored when actually running the command).

kind regards
 
Marshal
Posts: 70625
288
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch
Please show us what the book says.
 
wouter van der meiden
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

the book is correct.

in command:
   java --show-module-resolution --module-path <moduleFolderName> --describe-module <moduleName>
the
    --describe-module <moduleName>
part could be replaced by
    --module <moduleName/package.className>

I guess I understand it now. The --show-module-resolution option has to be combined with doing something else, like running or describing.
It only generates output while doing that something else.
 
reply
    Bookmark Topic Watch Topic
  • New Topic