Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java 1.4?



Hi,

I was thinking about this very issue this morning in the way into work. I did a little
bit of investigating using Oracle JDeveloper (9.0.3 preview) and found that I could
happily compile against JDK 1.4.1 with the following settings:

* Project Settings -> Libraries -> Define
o Then create a entry based on rt.jar from a JRE 1.4 copied from my windows
machine
* Project Settings -> Compiler
o Tick "Enable JDK 1.4 Assertions"
o Set the compiler target as JDK 1.4

This seemed to work okay, and compile the small example. This procedure should work
with any equivalent IDE that have its own compiler rather than using javac. JBuilder
for sure but I cannot say for ProjectBuilder as I do not know this tool very well.

Now in order to actually run your JDK 1.4 app you will need either a app server you
can remote deploy to on another machine. You could use Virtual PC and a copy of Linux
to get the same effect withouth having to shell out for more hardware.

Note that I I did not have time to try the second step, as I do not have the knowledge
set it up quickly. Most of the big IDE tools seem to support remote deployment, and
debugging & profiling in some cases, to at least some types app servers. Somebody
working on J2EE as with the original poster shouldn't notice that much different from
how they work at the moment.

This is all a bit of a klude but it would allow the original poster to continue
working with his mac box, anybody work out the correct procedures for other tools? You
could of course use this process for Swing apps: although the deploy->run cycle will
be a little less automated unless you are using webstart.

Hope this helps,

G.


> Subject: Re: Java 1.4?
> Date: Fri, 4 Oct 2002 16:46:48 -0600 (MDT)
> From: Norris Weimer <email@hidden>
> To: email@hidden
>
> On Fri Oct 04 12:18:24 MDT 2002, Greg Guerin <email@hidden> said :
>
> >"Holy Grail", which lately seems to be synonymous with "1.4".
>
> Awesome ! That's it ! "Monty Python and the Holy Grail", to be exact.
>
> Sangraal Aiken <email@hidden> wrote:
>
> >Does anyone know when apple will release Java 1.4? I heard there is a
> >seed out for developers, anyone know how to get a copy of it?
>
> To the first question : we should have a pool.
> To the second question : you probably don't want it. Check the archives
> for how and why, and for a bit of hope for a new (public/free) one, RSN.
>
> >I'm a java developer for a large J2EE organization and I'm the only Mac
> >developer, we're moving to JDK 1.4 and I'm afraid I'll have to switch
> >to linux if I can't upgrade my Mac. Any help would be much appreciated.
>
> I read that as only wanting to be able to develop on a Mac, not necessarily
> deploying on a Mac. So I will rephrase his question to this :
> What would be necessary to get Project Builder to be able to _compile_
> Java 1.4 code ? (I assume the only practical answer to this is to wait for
> the 1.4.1 JDK from Apple, but maybe it's worth asking anyway).
>
> - Norris

--

Features times Quality is Proportional to Time
email@hidden

[demime 0.98b removed an attachment of type text/x-vcard which had a name of Gerard.Davison.vcf]
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.