• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa Java 1.4?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Java 1.4?


  • Subject: Re: Cocoa Java 1.4?
  • From: Chris Hanson <email@hidden>
  • Date: Mon, 13 Oct 2003 12:12:25 -0500

On Monday, October 13, 2003, at 11:41 AM, email@hidden wrote:
Even on Panther, Cocoa Java seems to be stuck at Java 1.3, it doesn't work
with 1.4, this is a bit concerning. Are Apple losing interest in
Cocoa/Java?

I've built Cocoa-Java applications using Java 1.4.1 on Jaguar. They needed to use Java 1.4.1 specifically in order to interoperate with JINI services, and some of the new standard classes (like regular expressions) wound up being very useful as well. (I also had JUnit set up for unit testing, running on every build just like OCUnit in Objective-C.) I ran into no difficulties that I could attribute to the use of Java 1.4.1 versus the use of Java 1.3.

One important thing to remember when using Mac OS X for Java development is that you can't just install the end-user Java update and be done with it. You *must* also install the Java SDK update. In the case of Java 1.4.1, this is what lets you specify in your application's target settings that it should be launched with the 1.4 VM rather than the 1.3 VM. If no setting is specified, the operating system uses the 1.3 VM for backwards compatibility purposes.

It sounds like this might be what you were running into. Otherwise, be specific about what problems you're seeing. The members of the mailing list might be able to help.

-- Chris

--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Compiling Cocoa with CodeWarrior
  • Next by Date: OCUnit: Debugging a test (and the tested class)?
  • Previous by thread: Cocoa Java 1.4?
  • Next by thread: Re: Cocoa Java 1.4?
  • Index(es):
    • Date
    • Thread