Article View: borland.public.jbuilder.java.language
Article #8210Re: Is class in a classpath
From: Torsten Welches
Date: Thu, 12 Apr 2001 13:58
Date: Thu, 12 Apr 2001 13:58
10 lines
1164 bytes
1164 bytes
Shamil, do a Class.forName(...) and catch the ClassNotFoundException. Torsten Shamil <no_spam@domain.country> wrote: >Does anybody know how to check is a required class is in >classpath before I do something using them.
Technical Details
Message-ID:
<3ad5b480$1_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3AD5A929.57ECD5FE@domain.country>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4d7d0ca830b6772b X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-04-12 07:16:49 PST From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Sender: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Reply-To: "Torsten Welches" <torsten.welches@who.cares.netcologne.de> Subject: Re: Is class in a classpath Newsgroups: borland.public.jbuilder.java.language X-User-Info: 193.158.55.74 193.158.55.74 References: <3AD5A929.57ECD5FE@domain.country> NNTP-Posting-Host: 207.105.83.65 Message-ID: <3ad5b480$1_2@dnews> Date: 12 Apr 2001 06:58:24 -0700 X-Trace: dnews 987083904 207.105.83.65 (12 Apr 2001 06:58:24 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews