Article View: borland.public.jbuilder.java.api
Article #358getClassLoader does'nt find the file
From: Guy Perron
Date: Wed, 08 Oct 2003 22:19
Date: Wed, 08 Oct 2003 22:19
10 lines
1308 bytes
1308 bytes
With JBuilder7,
I try do
URL url = getClass().getClassLoader().getResource("a file that is in the
same directory as the.jpx file");
and I always get a null pointer for url. The same code is working with
Eclipse, and BlueJ but it does'nt work in Jbuilder.
Anybody as an idea why and what am I missing with JBuilder.
THanks ,
Guy Perron.
Technical Details
Message-ID:
<3f848d66@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,dbe4c80eee321a10,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2003-10-08 15:28:09 PST From: "Guy Perron" <gperron@cmontmorency.qc.ca> Newsgroups: borland.public.jbuilder.java.api Subject: getClassLoader does'nt find the file Date: Wed, 8 Oct 2003 18:19:20 -0400 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 206.167.24.15 Message-ID: <3f848d66@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1065651558 206.167.24.15 (8 Oct 2003 15:19:18 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!newsgroups.borland.com!not-for-mail