Article View: borland.public.jbuilder.java.language
Article #16397Re: JAR Files and Image Resources
From: Tor Iver Wilhelmsen
Date: Fri, 26 Feb 1999 00:00
Date: Fri, 26 Feb 1999 00:00
10 lines
966 bytes
966 bytes
Tom Heagy <tom.heagy@sciatl.com> writes: > My problem occurs when I package all the class and image files into a > JAR file. I point the application to the JAR file and try to run it but > it can't seem to find the image files. It DOES find the class files > however! I've coded all the file names without using a drive letter > (i.e. "\MyApp\Images\myimage.jpg"). I don't understand what I'm doing > wrong. I'd greatly appreciate any insight. Use forward slashes and/or getResource().
Technical Details
Message-ID:
<u4so934ek.fsf@sds.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36D5C146.B5DB61AB@sciatl.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,d1a8c2130c04de5a X-Google-Attributes: gidf74b3,public From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Subject: Re: JAR Files and Image Resources Date: 1999/02/26 Message-ID: <u4so934ek.fsf@sds.no> X-Deja-AN: 448655430 Sender: towi@SDSA1761 References: <36D5C146.B5DB61AB@sciatl.com> Organization: Another Netscape Collabra Server User Newsgroups: borland.public.jbuilder.java.language