🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #1655

Re: problem with jdk version

#1655
From: Alvaro
Date: Wed, 24 Oct 2001 19:18
46 lines
2252 bytes
Hi Joi... here is the code :
 ...
 Properties defaultProperties = new Properties();
 defaultProperties.setProperty("quantity",q);
 ...

And the error message is:

"DefaultPropertiesReader.java": Error #: 300 : method
setProperty(java.lang.String, java.lang.String) not found in class
java.util.Properties at line 22, column 23


thanks in advance



"Joi Ellis [TeamB]" <joi@aravox.com> wrote in message
news:3bd5c1ab_2@dnews...
> Alvaro <arivello@swordfish.com.uy> wrote:
> > Hi, I'm having problems when I try to compile a class wich uses the
method
>
> > setProperty(String,String) of java.util.Properties. It also doesn't
appear
>
> > as a method when I type "properties." .
>
> > In Tools-->Configure JDKS... I have set the default which comes with
>
> > JBuilder which is JDK1.3.0 and I also tried with one from Sun.
>
> > I get this same problem with another classes.
>
> > Any idea?
>
>
> Please post the code and the error message it produces.
>
> --
> Joi Ellis (TeamB)               http://www.teamb.com/
> No direct email, please.
> For best results, post on news server newsgroups.borland.com!
> Newsgroup Guidelines: http://www.borland.com/newsgroups/guide.html
> Only posts which violate the rules in guide.html are subject to
cancelation.
Technical Details
Message-ID: <3bd71424_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3bd57fb7_1@dnews> <3bd5c1ab_2@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,f1e858fd62b1f7bb
X-Google-Attributes: gid1089d0,public
X-Google-ArrivalTime: 2001-10-24 12:38:42 PST
From: "Alvaro" <arivello@swordfish.com.uy>
Newsgroups: borland.public.jbuilder.java.api
References: <3bd57fb7_1@dnews> <3bd5c1ab_2@dnews>
Subject: Re: problem with jdk version
Date: Wed, 24 Oct 2001 16:18:36 -0300
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 207.3.114.125
Message-ID: <3bd71424_1@dnews>
X-Trace: dnews 1003951140 207.3.114.125 (24 Oct 2001 12:19:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed1.earthlink.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!lsanca1-snf1!news.gtei.net!enterprise!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!dnews