|
NeXTStep/Java IntroductionThis page is a collection of information about Java on the NeXTStep platform.NeXT Java Mailing ListBill Bumgarner has set up a mailing list for collaboration on NeXT java projects, in particular the port of Sun's JVMNeXT Interface Builder PaletteRalf Suckow has developed an Interface Builder palette for Java called aCupOfCoffee. This enables developers to generate Java code directly from the Interface Builder using familiar 'drag and drop' techniques rather than messing around with all those nasty layout managers. The latest 'pro' version adds the target:action paradigm.
It's availabe as a quadruple-fat binary via anonymous ftp
from the german peanuts archive at:
ftp://ftp.informatik.uni-muenchen.de/pub/comp/platforms/next/Developer/
resources/palettes
NeXTStep/Sun JDK 1.0.2The effort to port Sun's JDK to the NeXT platform is ongoing. The project began late in '95 with an intial port made by Dave Griffiths of the alpha release. This did not include the AWT (Abstract Window Toolkit) but got as far as being able to self-compile. The port built entirely as a Project Builder project, largely because Sun had done some horrible proprietorymake things.
The beta release saw Sun move to the standard gnu make (gmake) and Bill
Bumgarner migrated Dave's work to this release.
A number of people have been working on Java recently. Dave Griffiths has certain parts of the AWT working and Domagoj Cosic has integrated these changes and made a release of 1.0.2,. Note that this is just a set of patches, you will first have to obtain a source license and source from Sun and then put in some effort to patch and build these sources. The AWT is still incomplete. NeXTStep Native Java CompilerI've recently built a Native Java compiler using the j2c tranlator. This is based on Sun's 1.0.2 class library and enables users to build classes quickly on the NeXT platform. Of course you will still have to something like Navigator 2.0 to test the classes.
Source and binaries are provided for The release is available from ftp://ftp.demon.co.uk/pub/NeXT. Java to C translatorWhat is j2cJ2c is a java class to 'C' translator. It currently supports release 1.0.1 of the JDK and enables all non-AWT and Network applications to be turned into native 'C' code.More details and the source code are available from the Web site: http://www.webcity.co.jp/info/andoh/java/j2c.html j2c and NeXTStepI've ported j2c to the NeXTStep 3.x platform. Not too much work involved, here are the details:
Building using javac from JDK release 1.0.2This is a snip, there is one new interfacejava/lang/ClassLoader.class, three new routines are defined
for which there are no stubs. These are:
_Java_java_lang_ClassLoader_defineClass0_stub _Java_java_lang_ClassLoader_resolveClass0_stub _Java_java_lang_ClassLoader_findSystemClass0_stubI havn't checked the source, but presumably these are special versions introduced for security fixes? Is class0, Object?
Anyway simply copy an older 1.0.1. or 1.0.0 Some NotesBuild time for javac is 37 minutes including translation.The above changes are available in the javac release mentioned earlier: ftp://ftp.demon.co.uk/pub/NeXT.
David Harvey-George, email: david@threewiz.demon.co.uk
|