Article View: borland.public.jbuilder.java.api
Article #1911Re: Problems with compiling
From: Rich Wilkman
Date: Thu, 09 Aug 2001 17:39
Date: Thu, 09 Aug 2001 17:39
34 lines
2104 bytes
2104 bytes
Joi: It's finding the class because it is able to determine that the class it found is missing the method, so it won't be the import problems. I'd bet he has a jar on his classpath from some other party (like WL) who thought it would be so nice to include core Java classes in their distro. :) -Rich "Joi Ellis [TeamB]" wrote: > > Rubun Tang <abc@cde.com> wrote: > > Hello, > > > I have a problem when compiling my program. In my code I have to use > > java.util.HashMap and I specifically import java.util.* before I try to use > > that function. During compilation, I got this strange error: > > > "StringUtil.java": Error #: 300 : constructor HashMap(int) not found in > > class java.util.HashMap at line 120, column 26 > > > Does anybody know what happen? I'm using JDK1.3.0-c. > > Which version of JBuilder are you using? > > If you 'import java.util.HashMap' specifically, does it compile? > > -- > Joi Ellis (TeamB) http://www.teamb.com/ > No direct email, please. > For best results, post on news server newsgroups.borland.com! > Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<3B72CAC5.96E9D402@formlessvoid.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3b72943f_1@dnews> <3b72982c_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,d749c9ecd400b8bb X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-08-09 10:44:06 PST Message-ID: <3B72CAC5.96E9D402@formlessvoid.com> Date: Thu, 09 Aug 2001 10:39:17 -0700 From: Rich Wilkman <richw@formlessvoid.com> X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api Subject: Re: Problems with compiling References: <3b72943f_1@dnews> <3b72982c_2@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 208.236.69.60 X-Trace: dnews 997378758 208.236.69.60 (9 Aug 2001 10:39:18 -0700) Lines: 34 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.174.75.178!news-fra1.dfn.de!news-lei1.dfn.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews