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

Java Cocoa application, Java VM not launching


  • Subject: Java Cocoa application, Java VM not launching
  • From: Chas Spillar <email@hidden>
  • Date: Fri, 27 Jan 2006 17:26:42 -0800
  • Thread-topic: Java Cocoa application, Java VM not launching

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.

Next, I tried to adjust my target to have the various flags set (ARCHS,
etc.) but nothing would make it build universal.  I surmised that this was
because it must be a Native target to accomplish this.

Finally, I removed the Java from my target, and performed the upgrade.  This
resulted in an upgraded target.  Adding the Java back causes everything to
build with everything Universal, but the Java VM isn't launching like it
used to.  In addition, rather than there being a "Resources/Java" sub-folder
to the app bundle, there is a "Resources/Java" tool... Very strange...

Is there a supported way to do this?  Or is there some magic I need to add
to either target to get a Universal application that includes Cocoa and
Java?

Cross posting this on xcode-users and cocoa-dev because I am not sure what
the issue is.

Thank you for your help,

Chas.


 _______________________________________________
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: Andrew Pontious <email@hidden>
    • Re: Java Cocoa application, Java VM not launching
      • From: Chas Spillar <email@hidden>
  • Prev by Date: Re: Build with gcc3.3 in Xcode 2.c
  • Next by Date: Re: Java Cocoa application, Java VM not launching
  • Previous by thread: Assembler code compile failure.
  • Next by thread: Re: Java Cocoa application, Java VM not launching
  • Index(es):
    • Date
    • Thread