Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Read files within a .jar  RSS feed

 
Xavier Poves
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello!
My doubt is how I can accede to (or read) the files of resources (images, sounds, etc...) which they are within a jar, for example "resources.jar".
Thanks!
[ February 07, 2006: Message edited by: Xavier Poves ]
 
Garrett Rowe
Ranch Hand
Posts: 1296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From the command line you can type:

jar xf fileName.jar



Garrett
[ February 07, 2006: Message edited by: Garrett Rowe ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!