• 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: Java Cocoa application, Java VM not launching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Java Cocoa application, Java VM not launching
      • From: Chas Spillar <email@hidden>
References: 
 >Java Cocoa application, Java VM not launching (From: Chas Spillar <email@hidden>)

  • Prev by Date: Re: referring to enum values in a template
  • Next by Date: Re: x86 inline assembler to stop in debugger
  • Previous by thread: Re: Java Cocoa application, Java VM not launching
  • Next by thread: Re: Java Cocoa application, Java VM not launching
  • Index(es):
    • Date
    • Thread