Article View: borland.public.jbuilder.java.api
Article #1907Re: Problems with compiling
From: Joi Ellis [TeamB]
Date: Thu, 09 Aug 2001 14:03
Date: Thu, 09 Aug 2001 14:03
21 lines
1611 bytes
1611 bytes
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:
<3b72982c_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.64.68.27!newsgate.cistron.nl!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mailReferences:
<3b72943f_1@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 07:12:34 PST
Message-ID: <3b72982c_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Problems with compiling
Newsgroups: borland.public.jbuilder.java.api
References: <3b72943f_1@dnews>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 9 Aug 2001 07:03:24 -0700
X-Trace: dnews 997365804 209.46.41.66 (9 Aug 2001 07:03:24 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.64.68.27!newsgate.cistron.nl!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail