Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #4251
| From | markspace <-@.> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Creating Archive Files in Eclipse with images. |
| Date | 2011-05-18 06:58 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <ir0jak$685$1@dont-email.me> (permalink) |
| References | <97d85e5c-e75b-41d0-a967-02cdbf7b4913@q14g2000prh.googlegroups.com> |
On 5/18/2011 5:16 AM, Sanny wrote: > My images are on the same directory as the classfile. Normally, you put extra files (like images) in the source (src) directory, not the class file directory. Those extra files will be added to your .jar file when the .jar is built. > > How to create a .jar file in eclipse? You can also do this manually, add or remove files yourself as you please. <http://download.oracle.com/javase/tutorial/deployment/jar/> > Can I create .zip instead of .jar will that work with applets? If you're asking what I think you are, the answer is no. You can read a .zip file from an applet, but I don't think you want to do that. <http://download.oracle.com/javase/6/docs/api/java/util/zip/ZipInputStream.html> > I found Eclipse gives no option to add images to the .jar file. Can I > use winzip to create a zip/ jar file? Use the jar utility, that I linked to above.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-18 05:16 -0700
Re: Creating Archive Files in Eclipse with images. markspace <-@.> - 2011-05-18 06:58 -0700
Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-19 10:20 -0700
Re: Creating Archive Files in Eclipse with images. markspace <-@.> - 2011-05-19 10:39 -0700
Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-20 02:20 -0700
Re: Creating Archive Files in Eclipse with images. Lew <noone@lewscanon.com> - 2011-05-20 07:16 -0400
Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-20 05:20 -0700
Re: Creating Archive Files in Eclipse with images. Lew <noone@lewscanon.com> - 2011-05-20 09:13 -0400
Re: Creating Archive Files in Eclipse with images. Sanny <softtanks22@hotmail.com> - 2011-05-20 07:17 -0700
Re: Creating Archive Files in Eclipse with images. Lew <noone@lewscanon.com> - 2011-05-20 12:18 -0400
Re: Creating Archive Files in Eclipse with images. Jeff Higgins <jeff@invalid.invalid> - 2011-05-19 14:03 -0400
Re: Creating Archive Files in Eclipse with images. markspace <-@.> - 2011-05-19 11:10 -0700
csiph-web