MacNN Forums (http://forums.macnn.com/)
-   Classic Macs and Mac OS (http://forums.macnn.com/classic-macs-and-mac-os/)
-   -   Java 2 (http://forums.macnn.com/64/classic-macs-and-mac-os/46829/java-2-a/)

 
park74 May 25, 2000 05:29 PM
Java 2
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?
 
park74 May 25, 2000 05:30 PM
Perhaps I should add this...I want not only to be able to write the code...but to compile and execute it.
 
Paul Crawford May 27, 2000 04:10 PM
Hi,

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.

Regards,

--Paul

[This message has been edited by Paul Crawford (edited 05-27-2000).]
 
park74 May 29, 2000 10:30 AM
Thanks, the info you gave is kind of what I expected to hear guess I'll just have to wait.
 
All times are GMT -4. The time now is 03:20 AM.

Copyright © 2005-2007 MacNN. All rights reserved.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2014, vBulletin Solutions, Inc.


Content Relevant URLs by vBSEO 3.3.2