|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
This sample lets you to do whatever checks you need to do in native, start the JVM based on your own parameters, and then parks itself in CFRunLoop() to wait for the AWT to start:
<http://developer.apple.com/mac/library/samplecode/simpleJavaLauncher>
What about a java launcher stub. Use Runtime exec to launch a java process. I think this is what the Apache common launcher project code amounts to. It is based on the Tomcat or some such product launcher code and uses a ant task approach but I think in the end just amounts to Runtime exec'd java. Assuming you can decide at Runtime what parameters you want to use.
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.