• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Sybex CSG 11 - Chapter 11: Modules - Page 463 (RESOLVED)

 
Greenhorn
Posts: 9
Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In order to study, I decided to write all codes and to create all directories. But I became stuck when I reached the jar command to create the first module jar file.
The problem is that, in this page, the command "jar -cvf mods/zoo.animal.feeding.jar -C feeding/" is incorrect, as it needs a blank space before the slash to fulfill its needs.

After executing "jar -cvf mods/zoo.animal.feeding.jar -C feeding /", everything was working smoothly.
 
Carlos Borges
Greenhorn
Posts: 9
Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I realized that I have made a mistake. I should put a dot after all:
"jar -cvf mods/zoo.animal.feeding.jar -C feeding/ ."

This is how is presented in the book and it works fine too.
 
This is my favorite show. And this is my favorite tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic