🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17014

Re: Getting JDK 1.2 to work

#17014
From: Sergio Fernandez
Date: Sun, 27 Dec 1998 00:00
27 lines
1891 bytes
Sam wrote in message <01be2e04$a3140e20$0a020101@sam-french>...
>I'm using JBuilder 2.0 and recently decided to download the final JDK 1.2
>from sun.  I installed it and immediately noticed there is no classes.zip
>in the JDK 1.2 directories.  Does anybody know where it is? My real problem
>is that I am trying to use a PrinterJob class from JDK 1.2 and can't import
>java.awt.print.PrinterJob;
>
>I have added a new target JDK for 1.2, but am still using the classes.zip
>in the Jbuilder directory since I can't point to a JDK 1.2 classes.zip.
>How do I install/use JDK 1.2 in Jbuilder????
>
>Thanks in advance for any tips or ideas, Sam.

the files which existed in classes.zip can now be found in a file called
rt.jar.
Jbuilder does not seen to be very jdk1.2 friendly, since it seems that in
JDK1.2 the swing components have been moved to a packed called javax.swing,
and JBuilder generated code for swing at com.sun.java.swing.
I would recommend writting the programm using jdk1.16 and the sswing beta
download from sun.
then before you deploy, if you want to use jdk1.2, rename every instance of
com.sun.java.swing to javax.swing in every java file.

a bit of a pain, but never the less a ways around the situation.

Sergio Fernandez
Technical Details
Message-ID: <764sq6$3td$1@ash.prod.itd.earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01be2e04$a3140e20$0a020101@sam-french>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,71fe59f4a55965a7
X-Google-Attributes: gidf74b3,public
From: "Sergio Fernandez" <pabsoftware@earthlink.net>
Subject: Re: Getting JDK 1.2 to work
Date: 1998/12/27
Message-ID: <764sq6$3td$1@ash.prod.itd.earthlink.net>
X-Deja-AN: 426116366
References: <01be2e04$a3140e20$0a020101@sam-french>
X-Posted-Path-Was: not-for-mail
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-ELN-Date: 27 Dec 1998 08:57:42 GMT
X-ELN-Insert-Date: Sun Dec 27 01:05:09 1998
Organization: EarthLink Network, Inc.
Newsgroups: borland.public.jbuilder.java.language