From: Sanny Newsgroups: comp.lang.java.programmer Subject: Re: Creating Archive Files in Eclipse with images. Date: Fri, 20 May 2011 02:20:33 -0700 (PDT) Organization: http://groups.google.com Lines: 44 Message-ID: References: <97d85e5c-e75b-41d0-a967-02cdbf7b4913@q14g2000prh.googlegroups.com> <66251df5-1f5e-4cf7-9c86-3dac2a82b311@z13g2000prk.googlegroups.com> NNTP-Posting-Host: 122.168.213.12 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1305883233 7680 127.0.0.1 (20 May 2011 09:20:33 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 20 May 2011 09:20:33 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 18g2000prd.googlegroups.com; posting-host=122.168.213.12; posting-account=TwCTWQgAAAC7hf6GV7aTGIk6mVGkiZ5c User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FDM),gzip(gfe) Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!feed.ac-versailles.fr!news.in2p3.fr!in2p3.fr!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!18g2000prd.googlegroups.com!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:4347 > I don't know about this one. =A0Check your paths again to make sure they > are all correct. =A0You might have to use a sniffer like Wireshark to > verify that the Java plug-in is looking where you think it is looking. When creating a Jar file I get below errors. I am able to play the applet as an Application with Eclipse as it has got main() function. But When I click the FightGame.jar It closes immidietly. JAR creation failed. See details for additional information. Problem writing /FightGame/META-INF/MANIFEST.MF to JAR: duplicate entry: META-INF/MANIFEST.MF Resource /FightGame does not exist. Resource /FightGame does not exist Resource /FightGame does not exist. Problem writing /FightGame/.classpath to JAR: duplicate entry: .classpath Problem writing /FightGame/.project to JAR: duplicate entry: .project Problem writing /FightGame/HelloWorld.java to JAR: duplicate entry: HelloWorld.java Problem writing /FightGame/META-INF/MANIFEST.MF to JAR: duplicate entry: META-INF/MANIFEST.MF Problem writing /FightGame/fightgame.jardesc to JAR: duplicate entry: fightgame.jardesc Resource /FightGame does not exist. Resource /FightGame does not exist. Resource /FightGame does not exist. Despite the errors the FightGame.jar is created. I have kept all my images in "src" folder. I find the jar do not add the content of "src" folder. How to ask the Eclipse to add all files from "src" folder into the jar. It gives me no option to include a folder "src" When I double click the Jar a window opens for a few sec and closes without showing any error. Bye Sanny