Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JRE in a subdirectory



Thomas Vatter wrote:

Is it possible to put JRE in a subdirectory of the application and call it directly by for instance ./jre/bin/java -jar myapp.jar? It works on linux but on OS X I have difficulties. The structure of the downloaded java dmg package is very complex. After unpacking and copying it to a subdirectory of the application and calling ./java -jar myapp.jar there is an error message "no known VMs. (check for corrupt jvm.cfg file)"

That's not supported and illegal. You are not allowed to redistribute Apple's JRE, it's a part of their operating system.


Scott

_______________________________________________
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: 
 >JRE in a subdirectory (From: Thomas Vatter <email@hidden>)



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.