Article View: borland.public.jbuilder.java.language
Article #17218Re: JDK1.2rc1 and jbuilder2.0.1
From: Lamar F. Channell
Date: Thu, 03 Dec 1998 00:00
Date: Thu, 03 Dec 1998 00:00
27 lines
1547 bytes
1547 bytes
bco wrote: > Hi everybody > > I try to use jbuilder2.0.1 with jdk1.2rc1. > Trying to make a default application, he send me that message : > > Fatal Error : cannot access class javax.swing.JFrame; no source found; must > be compiled, because java.awt.Frame.dispose referenced by class > javax.swing.JFrame has changed. > > any helps ? > > Thank u Did you get any solutions to your problem? I got the same error when trying to use JDK1.2RC2, I'm also using swing1.1b3. Are you using Swing1.1? This is what I did to corrrect it, but I don't know why it worked. I went to Project Properties->Libraries... and added a new library called "Java 1.2" (any name you like). The class path should point to <drive>:\jdk1.2\jre\lib\rt.jar. Once you create this new library add it to your project java libraries, put it before the swing library (you can drag it with the mouse) and rebuild your project. The error disappears. Hope this helps, Lamar
Technical Details
Message-ID:
<3666EDDF.9F1DDC96@cpmx.saic.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<729l36$3se19@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,7e1701ab3c5c3441 X-Google-Attributes: gidf74b3,public From: "Lamar F. Channell" <lamar.f.channell@cpmx.saic.com> Subject: Re: JDK1.2rc1 and jbuilder2.0.1 Date: 1998/12/03 Message-ID: <3666EDDF.9F1DDC96@cpmx.saic.com> X-Deja-AN: 418343289 Content-Transfer-Encoding: 7bit References: <729l36$3se19@forums.borland.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language