Article View: borland.public.jbuilder.java.api
Article #1909Re: Problems with compiling
From: Rubun Tang
Date: Thu, 09 Aug 2001 15:30
Date: Thu, 09 Aug 2001 15:30
36 lines
2124 bytes
2124 bytes
In fact I want to add that from the Import tab I was able to find java.util.HashMap, and guess what, the constructor HashMap(int) is there as well. "Rubun Tang" <abc@cde.com> wrote in message news:3b729fc4$2_2@dnews... > I am using JBuilder4 Enterprise version. Importing java.util.Hashmap still > doesn't work. > > "Joi Ellis [TeamB]" <joi@aravox.com> wrote in message > news:3b72982c_2@dnews... > > 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:
<3b72ac76$1_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnewsReferences:
<3b72943f_1@dnews> <3b72982c_2@dnews> <3b729fc4$2_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 08:33:54 PST From: "Rubun Tang" <abc@cde.com> Newsgroups: borland.public.jbuilder.java.api References: <3b72943f_1@dnews> <3b72982c_2@dnews> <3b729fc4$2_2@dnews> Subject: Re: Problems with compiling Date: Thu, 9 Aug 2001 11:30:00 -0400 Lines: 38 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 NNTP-Posting-Host: 204.92.92.4 Message-ID: <3b72ac76$1_1@dnews> X-Trace: dnews 997370998 204.92.92.4 (9 Aug 2001 08:29:58 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews