Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #4249

Creating Archive Files in Eclipse with images.

From Sanny <softtanks22@hotmail.com>
Newsgroups comp.lang.java.programmer
Subject Creating Archive Files in Eclipse with images.
Date 2011-05-18 05:16 -0700
Organization http://groups.google.com
Message-ID <97d85e5c-e75b-41d0-a967-02cdbf7b4913@q14g2000prh.googlegroups.com> (permalink)

Show all headers | View raw


I have created an applet that has 20-30 images.

I want all of them to be put in one archive file. and I just display
the archive file in applet.

<applet code="HelloWorld.class" width="800" height="600"
archive="Helloworld.jar">

I found somewhere I can omit the .class prefix.

<applet code="HelloWorld" width="800" height="600"
archive="Helloworld.jar">

My images are on the same directory as the classfile.

How to create a .jar file in eclipse?

I tried to Export in Eclipse It gives two options.

1. Export -> Create Archive file.
2. Export -> Java -> Create Jar

Do they both are the same things?

Can I create .zip instead of .jar will that work with applets?

<applet code="HelloWorld" width="800" height="600"
archive="Helloworld.jip">

I found Eclipse gives no option to add images to the .jar file. Can I
use winzip to create a zip/ jar file?

How to include all images in the .jar file.

Incase I use .zip and compression will it work on all browsers.

I find it asks for Manifest File? What is this? What information can I
give to Manifest file? What will happen If I do not give manifest
file. As my applet already know the class to start with?

Once I create the .jar file Do I have to add the .class files to the
server? Will .jar provide everything the applet needs?

Bye
Sanny

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

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