File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jar -J option

 
Brian Fryer
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the Oracle jar documentation, jar can pass JVM options with a -J option after the files list. However, when I try this, jar seems to interpret it as a file in the list and returns no such file or directory.

Also, jar usage does not show the option:

I am running

Is this option no longer available?
 
John Jai
Rancher
Posts: 1776
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I tried to specify using -j option, it gave me an error. Try like below and let us know if this is the way to use it..

-J option is given at the last...

 
Brian Fryer
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is what I entered:

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic