Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Classic Macs and Mac OS > Java 2

Java 2
Thread Tools
Reply With Quote
May 25, 2000, 04:29 PM
Is there anyway to write code in JDK 1.2 or newer. In my codewarrior install I noticed that there was an install for Java 2 libraries, but I have yet to figure out how to use it. It's a real pain to have to be stuck in 1.1.8.

Is there a forum for Programming...esp in Java?
Reply With Quote
May 25, 2000, 04:30 PM
Perhaps I should add this...I want not only to be able to write the code...but to compile and execute it.
Dedicated MacNNer
Join Date: Nov 1999
Location: Georgetown, Demerara, Guyana
Status: Offline
Reply With Quote
May 27, 2000, 03:10 PM

I'm not a Java expert but I think that, in CodeWarrior 5 for Mac OS, the Java 2 support is curently limited to compilation only. The 'Metrowerks CodeWarrior : Java Support : Libraries' subfolder contains an 'rt.jar' core API library for JDK 1.2 that (as I understand it) essentially replaces the old 'classes.zip' & assorted jar files ('swingall.jar', etc.) used by JDK 1.1.x. [It seems that the 'rt.jar' file can also be built manually via the 'JavaRuntime.mcp' project in the 'Metrowerks CodeWarrior : Java Suppport : Java_Source : Java2' subfolder.]

However, you may not be able to actually run your compiled 1.2 applets on a Mac because Apple's latest MRJ 2.2 Runtime only supports up to 1.1.8 features. If you're an ADC Select/Premier member, you might have early access to Apple's next-generation MRJ Runtime. Otherwise, you may need to wait for the Mac OS X Client public beta this summer, which will incorporate full Java 2 support (see Apple's Mac OS X DP 4 press release); or, just use any available non-Mac machine (or try a Windows emulator such as 'Virtual PC') to run your 1.2 applets.

For pointers to online Java resources (including forums, mailing lists, newsgroups, etc.), see Apple's own Developer Java web page, or your CodeWarrior 5 installation's Java Links page ('Documentation : CDWeb : programming : JavaURL.htm'). E.g., the Sun mothership itself hosts several Java forums for developers.



[This message has been edited by Paul Crawford (edited 05-27-2000).]
Reply With Quote
May 29, 2000, 09:30 AM
Thanks, the info you gave is kind of what I expected to hear guess I'll just have to wait.
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Privacy Policy
All times are GMT -4. The time now is 10:19 PM.
All contents of these forums © 1995-2015 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2015, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2