| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Jan 26, 2006, at 10:14 AM, Aaron Roberts wrote: Did you launch it from the Finder or from a terminal? I double-clicked the jar. So more a finder launch but I'm not really sure what other code is used to get it up and running. I'm also not really sure what determines the version used for double-clicked jars, most likely that info is in the list archives somewhere. How to setup to use 1.5 for command line and application bundles was recently discussed. But to determine what jvm is selected for double clicked jars you just need a manifest... Manifest-Version: 1.0 Created-By: Launch Version Test Main-Class: VersionChecker For BBEdit I set to save as Unix. I still had to ensure the last line got a return character. One misstep. Version checking code is simple. public class VersionChecker { public static void main(String[] args) { System.out.println(System.getProperty("java.version")); } } jar that... jar -cvfM version.jar VersionChecker.class META-INF -m usage wasn't working, another misstep, I just now notice it was saying the manifest file wasn't there for some reason. There were a few other missteps and typos but even given that, it doesn't take long to get a working test to tell you what jvm version is used. 1.5.0_06 For me. There's nothing wrong with a editor and Terminal for quick and dirty testing. Mike Hall mikehall at spacestar dot net |
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden This email sent to email@hidden
| References: | |
| >Art of Illusion / openGL Issue (From: Aaron Roberts <email@hidden>) | |
| >Re: Art of Illusion / openGL Issue (From: Michael Hall <email@hidden>) | |
| >Re: Art of Illusion / openGL Issue (From: Aaron Roberts <email@hidden>) |
| Home | Archives | FAQ | 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 © 2007 Apple Inc. All rights reserved.