O'Reilly Forums: Chapter 17 - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Chapter 17 creating a jar file

#1 User is offline   Jerle 

  • Active Member
  • PipPip
  • Group: Members
  • Posts: 28
  • Joined: 14-August 11

Posted 15 December 2011 - 02:04 AM

When trying to create a jar file using the following command

jar -cvfm manifest.txt BeatBox.jar bin

I'm getting the following error:

java.io.FileNotFoundException: BeatBox.jar (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(init)(FileInputStream.java:138)
at java.io.FileInputStream.(init)(FileInputStream.java:97)
at sun.tools.jar.Main.run(Main.java:171)
at sun.tools.jar.Main.main(Main.java:1177)

This feels like a school-boy error but I can't seem to figure out the problem. Any help would be very much appreciated
\,,/[>.<]\,,/
0

#2 User is offline   tcwilliams91 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 08-February 13

Posted 08 February 2013 - 11:26 AM

 Jerle, on 15 December 2011 - 02:04 AM, said:

When trying to create a jar file using the following command

jar -cvfm manifest.txt BeatBox.jar bin

I'm getting the following error:

java.io.FileNotFoundException: BeatBox.jar (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(init)(FileInputStream.java:138)
at java.io.FileInputStream.(init)(FileInputStream.java:97)
at sun.tools.jar.Main.run(Main.java:171)
at sun.tools.jar.Main.main(Main.java:1177)

This feels like a school-boy error but I can't seem to figure out the problem. Any help would be very much appreciated


Hello!

I've just had this exact issue for about 2 hours. I feel incredibly stupid.

It's cvmf, not cvfm. For some reason I just naturally typed it wrong.

I realise this is an old post but I thought I might as well share!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users