Re: Java Cocoa application, Java VM not launching
Re: Java Cocoa application, Java VM not launching
- Subject: Re: Java Cocoa application, Java VM not launching
- From: Andrew Pontious <email@hidden>
- Date: Mon, 30 Jan 2006 11:12:18 -0800
On Jan 27, 2006, at 5:26 PM, Chas Spillar wrote:
I am upgrading my application to be Universal.
The application was not written originally by me and is written in
Java
Cocoa. That is, the UI is written in Cocoa/Objective-C and the
Model is
written in Java.
I have had several problems converting my target for this application.
First, I tried to "upgrade to native": the upgrade refused to
upgrade my
target because it contained Java.
Java targets in Xcode can only be Jam-based.
Universal targets can only be native.
Cocoa-Java is deprecated as of 10.4.
(For more info, look up these terms in the Xcode Help window. In
fact, I'd suggest reading the entire Xcode manual.)
You're going to have to find another way.
Some options:
- Convert project to Objective-C. This is probably your best bet, and
the one you're officially encouraged to pursue. Any further questions
about Cocoa APIs, techniques, etc. should go to cocoa-
email@hidden. Any questions about using Xcode to build Cocoa
apps should stay here.
- Convert the project to pure Java. This will involve rewriting the
UI to not use Interface Builder. Do this if the app should be cross-
platform or you use a lot of Java libraries. Also, get yourself a
good Java Swing book. For any problems specific to OS X+Java, go to
email@hidden.
-- Andrew Pontious
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden