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: After each boot, slow Java startup, then no problems




On 28 Sep 2006, at 15:43, Jerry wrote:


On 28 Sep 2006, at 15:35, Joshua Stewart wrote:

I'm using a MacBook Pro (Intel Core Duo) for my Java development work. I've noticed that each time I boot the laptop and then want to run a Java app, Java takes a long time to startup. For example, if I boot the laptop, then open a command line and type 'java -version', it takes over 30 seconds. On subsequent runs, everything is fast. So, the second time I type 'java -version', it takes less than 1 second. Similar behavior is exhibited when starting up Eclipse, applets, etc for the first time after a reboot. What's going on?

See http://developer.apple.com/documentation/Java/Conceptual/ Java14Development/Java14Development.pdf


Look for the section on "Java Shared Archive" and all will become clear.

Sorry, that doesn't actually answer your question: the shared archive is supposed to be created after installation, not on each boot.


Jerry

_______________________________________________
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: 
 >After each boot, slow Java startup, then no problems (From: Joshua Stewart <email@hidden>)
 >Re: After each boot, slow Java startup, then no problems (From: Jerry <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.