Home > Default > Bundling all java,html and even images in a jar file

Bundling all java,html and even images in a jar file

October 11Hits:0
Advertisement
Hi All,
When i bundle all my application .java files in a jar along with manifest i give something as,
jar -cvf Name.jar manifest.txt *.classMy question is if i want to bundle even couple of HTML and even some images like(jpg,png..etc)..How should i do that???
Thanks in advance.
regards,
Viswanadh

Answers

Follow the instructions here:
[http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
Note that if you want to run the html. it must be outside of the jar, not in it.

Read other 4 answers

Tags:

Related Articles

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.661 s.