• 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 and Java VM Creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa and Java VM Creation


  • Subject: Re: Cocoa and Java VM Creation
  • From: Josh and Susan Nan <email@hidden>
  • Date: Mon, 17 Mar 2003 22:15:06 -0500

You can set the JVM options from the target properties editor.

Select your Objective-C target and use option-command-e to activate the properties editor. Expand the "Info.plist Entries" node then the "Simple View" node. Select the "Pure Java Specific" option. Set your VM options in the "Additional VM Options" field.

I use this all the time to set options like -Xms. -Xmx, and -verbose. I use JDK 1.4.1, OS X.2.4, Project Builder 11.4.0.

On Monday, March 17, 2003, at 12:40 AM, Jeremy Bower wrote:

Hi,

I'm need to create the VM that Cocoa-Java uses with some specific VM options. There isn't an obvious way to do this from Project Builder, so I'm trying to write some code to create the VM with the options I need before the call to NSApplicationMain(). The NSJavaVirtualMachine was my first target, but it lacks a way to specify anything more than the class path. My next target appears to be JNI, but I wonder if NSJavaVirtualMachine will recognize a VM that I create using JNI directly. Before I spend too much time on this I thought I'd ask the list: Has anyone tried this before?

Jeremy
_______________________________________________
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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Cocoa and Java VM Creation
      • From: Jeremy Bower <email@hidden>
References: 
 >Cocoa and Java VM Creation (From: Jeremy Bower <email@hidden>)

  • Prev by Date: Setting Table Column data cell to be a NSProgressIndicator
  • Next by Date: Re: Cocoa and Java VM Creation
  • Previous by thread: Cocoa and Java VM Creation
  • Next by thread: Re: Cocoa and Java VM Creation
  • Index(es):
    • Date
    • Thread