🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: problem with jdk version

#1666
From: Alvaro
Date: Fri, 26 Oct 2001 15:18
56 lines
2551 bytes

How should my project be set to JDK1.2 or higher?

What I do have set is:
 in Tools--> Configure JDKs :
    Name : java 1.3.0-C
    JDK Home Path : D:/JBuilder4/jdk1.3

 and in Porject--> Project Properties :
    JDK : java 1.3.0-C


I think this is correct, isn't it.

It seems like the JBuilder is looking for the rt.jar in some other place
that I don't know.
Do you know some other?
Have you ever heard of this problem?


thanks Again, Joi




"Joi Ellis [TeamB]" <joi@aravox.com> wrote in message
news:3bd72221_1@dnews...
> Alvaro <arivello@swordfish.com.uy> wrote:
> > 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
>
> The Javadocs say that setProperty returns an Object.  Maybe it
> wants to see something like:
>
>   Object foo = defaultProperties.setProperty("quantity",q);
>
> I also noticed that this method appeared in Java 1.2.  Is your
> project's JDK set to 1.2 or higher?
>
> --
> 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: <3bd97efa_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> <3bd71424_1@dnews> <3bd72221_1@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-26 08:33:13 PST
From: "Alvaro" <arivello@swordfish.com.uy>
Newsgroups: borland.public.jbuilder.java.api
References: <3bd57fb7_1@dnews> <3bd5c1ab_2@dnews> <3bd71424_1@dnews> <3bd72221_1@dnews>
Subject: Re: problem with jdk version
Date: Fri, 26 Oct 2001 12:18:42 -0300
Lines: 58
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: <3bd97efa_1@dnews>
X-Trace: dnews 1004109562 207.3.114.125 (26 Oct 2001 08:19:22 -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