javax and mac

T

todd

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.
 
M

MacTotoche

todd said:
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
 
R

Roedy Green

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.

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.
 
B

Brad BARCLAY

Roedy said:
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
 
J

Jon A. Cruz

Brad said:
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.
 
T

todd

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top