javax and mac  
Author Message
xeatr1





PostPosted: 2003-8-13 4:24:00 Top

java-programmer, javax and mac im running mac os 9.2 with MRJ SDK 2.2. im tring to compile a class
importing javax.swing.*; it says it cant find it. i unziped all the
jars and i cant find javax anywhere. is this not supported on this os.
 
MacTotoche





PostPosted: 2003-8-13 5:12:00 Top

java-programmer >> javax and mac todd wrote:
> im running mac os 9.2 with MRJ SDK 2.2. im tring to compile a class
> importing javax.swing.*; it says it cant find it. i unziped all the
> jars and i cant find javax anywhere. is this not supported on this os.
Hello,
Swing is part of Java2 but is not included in the MRJs for MacOS 9
which run, at most, java 1.1.8.

It can be installed following the instructions given here in the Mac
section :
http://java.camsoft.com/swinginstall.shtm

--
Olivier
This space for sale.

 
Brad BARCLAY





PostPosted: 2003-8-13 11:02:00 Top

java-programmer >> javax and mac Roedy Green wrote:

> see http://mindprod.com/jgloss/jdk.html You need to upgrade to OS X
> to get the latest Java. Mac OS supports only up to 1.1.8, pre Swing.

Java 1.1.8 isn't "pre-Swing" -- it's just the last release before Sun
started _including_ Swing in the JRE API.

Swing started to become available in around Java 1.1.6. Back then it
had the old "com.sun.swing" packaging. However, there are add-on Swing
libraries for Java 1.1.8 that use the newer "javax.swing" packaging.

Swing 1.1.1 is now considered "legacy" code, but you can still download
it from Sun via:

http://java.sun.com/products/archive/jfc/1.1.1/index.html

HTH!

Brad BARCLAY

--
=-=-=-=-=-=-=-=-=
From the OS/2 WARP v4.5 Desktop of Brad BARCLAY.
The jSyncManager Project: http://www.jsyncmanager.org


 
 
Jon A. Cruz





PostPosted: 2003-8-13 13:22:00 Top

java-programmer >> javax and mac Brad BARCLAY wrote:
> Swing started to become available in around Java 1.1.6.

At least since 1.1.5. I recall because MS's VM was frozen at 1.1.4, and
missed many of the slew of bug fixes that made Swing nicer in 1.1.5.

Later Sun worked around much of them, IIRC.

 
 
xeatr1





PostPosted: 2003-8-14 4:08:00 Top

java-programmer >> javax and mac thanks for all your help. unfortunatly i am working on my computer at
work and due to laziness our severs are not updated and os x is not
compatible so i can upgrade. but i got it working the with you help
thanks