If it's broken, fix it! Apple Java update!, Apple |
|
|
|
|
Replies
|
Fri 22 Apr 2005, 04:12
|
Moderator In Chief (MIC)
Group: Editors
Posts: 15,189
Joined: 23-Dec 01
From: Paris - FR
Member No.: 2,758
|
How to from appleQUOTE Optional: Restoring the Java Shared Archive
After installing this update, you may choose to perform a few optional steps in Terminal to restore the Java Shared Archive. This optimization would only be noticeable when Java is under heavy load, such as running a large number of Java applications simultaneously.
The exact steps depend on whether you have Java 1.4.1 or 1.4.2 installed. To check your Java version, repeat the java -version command that you used to verify the issue. Now that the issue has been resolved, you should see a message stating your Java version instead of the "Segmentation fault" message. Of the steps below, you only need to use the set that matches your installed version.
Important: The typed commands below are lengthy, so they may appear wrapped in your browser. However, they must be typed into Terminal without carriage returns. The easiest way to get this result is to copy and paste from your browser window into the Terminal window.
Steps for Java 1.4.2:
Open Terminal.
Type: cd /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/; sudo java -Xdump Press Return. Type your password (you must be logged in as an administrator user). Press Return. Type: cd /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/; sudo java -Xdump:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/classes.jsa -version Press Return.
Steps for Java 1.4.1:
Open Terminal.
Type: cd /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Libraries/; sudo java -Xdump Press Return. Type your password (you must be logged in as an administrator user). Press Return. Type: cd /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/; sudo java -Xdump:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/classes.jsa -version Press Return. Time to copy/paste folks
--------------------
|
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
|
|