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 Cocoa application, Java VM not launching



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Java Cocoa application, Java VM not launching (From: Chas Spillar <email@hidden>)



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.