Article View: borland.public.jbuilder.java.api
Article #2764Re: Problem in file inside a JAR
From: Anders K
Date: Thu, 09 Mar 2000 00:00
Date: Thu, 09 Mar 2000 00:00
26 lines
1602 bytes
1602 bytes
On Wed, 08 Mar 2000 20:27:07 +0800, Thomas Cheah <thomascheah@hotmail.com> wrote: >I had created a java applet. I compressed all the class files and the >media files (image and sound files) into a single JAR file. > >My problem is, when java interpreter failed to find my media files which >is supposed to be located in the JAR file. The applet will run find when >I didn't bundle my media files in the JAR file. > >Can anyone tell me what is going wrong? Can't I archive the media files >along with the class files into a single JAR file? > >Thanks a lot!! > >Regards, >Thomas. I had also something like that, check the manifest file to see the actual names of your resources.. in my case the package name was stripped away - i tried several different versions however never managed to get the resources into the same package so I had recreate the .jpr file and then it worked. hth /anders
Technical Details
Message-ID:
<05mecsgoc26fuc403tf7vo8o8b92j3l4se@4ax.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38C6471B.AF68277F@hotmail.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,1f7bdd55c56d90d5 X-Google-Attributes: gid1089d0,public From: Anders K <ak@workmail.com> Subject: Re: Problem in file inside a JAR Date: 2000/03/09 Message-ID: <05mecsgoc26fuc403tf7vo8o8b92j3l4se@4ax.com> X-Deja-AN: 595069133 Content-Transfer-Encoding: 7bit References: <38C6471B.AF68277F@hotmail.com> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@telia.com X-Trace: newsa.telia.net 952588998 195.67.216.233 (Thu, 09 Mar 2000 09:03:18 CET) Organization: Telia Internet MIME-Version: 1.0 NNTP-Posting-Date: Thu, 09 Mar 2000 09:03:18 CET Newsgroups: borland.public.jbuilder.java.api