Article View: borland.public.jbuilder.java.api
Article #1952Re: java.util.Random from jdk 1.0??
From: Rich Wilkman
Date: Thu, 19 Jul 2001 21:06
Date: Thu, 19 Jul 2001 21:06
51 lines
3099 bytes
3099 bytes
SAJ: The definition of the JDK has the settings for these libraries and it should already be JDK 1.3 as delivered with Personal. It sounds like you've added a library to the project that has (probably illegally) included java classes in it's archive. The JDK classes go to the end of the classpath in JBuilder (on purpose and by user request), so the library overrules things and it gets ugly fast. You need to clean up these jar files. To confirm the basics, just open the Welcome project. You should have all the code insight and access to core Java stuff that you expect. You should also get the Enterprise trial if you are planning on doing any real evaluation. Personal won't do all the neat stuff *and* you can't use it for commercial development, anyway. -Rich SAJ wrote: > > OK, I've actually discovered the problem. We are using LiveConnect which > puts java.util stuff in it's .zip file. In Cafe, the user specified files > are searched after the standard API but in JBuilder it doesn't seem to work > that way. I don't have any standard API libraries specified in my required > libraries. Is there any way to indicate that anything from the standard API > should be found in the Sun libraries before looking in user specified > required libraries. Shouldn't it default to that behavior anyway - in fact, > shouldn't it always do that no matter what??? Why would it look in user > specified required libraries before checking the jdk??? > Thanks for any info, > > Scott > > "SAJ" <saj@saj.com> wrote in message news:3b57320d_1@dnews... > > Hi, > > just downloaded JBuilder 5 to evaluate moving our development from Cafe. > > Got a project created with our stuff and tried to compile. > > Get an error telling me that java.util.Random.nextInt(int n) is not found > in > > class java.util.Random. Did a little digging and the IDE only > > shows me the jdk 1.0 interface to java.util.Random even though it's > > supposedly 1.3_02. Any ideas? Since I don't think I can configure > > JBuilder personal to use my Sun jdk 1.3, I'm stuck since I can't compile > our > > projects. Would appreciate any info or confirmation that > > this is a bug. > > Thanks, > > Scott > > > >
Technical Details
Message-ID:
<3B574BEA.7CFA3111@formlessvoid.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b57320d_1@dnews> <3b57400e_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,830792a961a90997 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-07-19 14:15:32 PST Message-ID: <3B574BEA.7CFA3111@formlessvoid.com> Date: Thu, 19 Jul 2001 14:06:50 -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: java.util.Random from jdk 1.0?? References: <3b57320d_1@dnews> <3b57400e_1@dnews> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 208.236.69.60 X-Trace: dnews 995576809 208.236.69.60 (19 Jul 2001 14:06:49 -0700) Lines: 51 Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews