Java 1.4.2 update broke my java docs.
Ok, I installed the 4.2 update (against my better judgement because java updates always seem to break something or other) and low-and-behold my java docs are nowhere to be found. I get an error message in the upper status bar of the document view to the effect of file not found when I click on the java 1.4.1 API Reference: J2SE link in the doc viewer window. You'd think this would have been updated to click here for 1.4.2 docs dummy!!! but no dice. I've looked for a compressed file or a 1.4.2 index.html file, or a .jar file for 1.4.2 to no avail.
I had alread done sudo /Developer/Documentation/Java/scripts/unjarJavaDocumentation.sh when I was still using 1.4.1 and I've tried it again after installing 1.4.2 again to no avail. I got this after all of the needed files where extracted when I reattempted to install the java docs:
java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/docs.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
at java.io.FileInputStream.<init>(FileInputStream.jav a:66)
at sun.tools.jar.Main.run(Main.java:185)
at sun.tools.jar.Main.main(Main.java:904)
java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/appledocs.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
at java.io.FileInputStream.<init>(FileInputStream.jav a:66)
at sun.tools.jar.Main.run(Main.java:185)
at sun.tools.jar.Main.main(Main.java:904)
ln: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/docs: No such file or directory
ln: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/appledocs: No such file or directory
Running PBHelpIndexer
Now I realize that most vesiges of 1.4.1 should have been removed whne 1.4.2 was installed. I feel though Apple should have given me (documented also) a method of reinstalling the needed docs.
Does anyone know how to repair this so I have my beautiful Java docs back?
Mahalo.
I had alread done sudo /Developer/Documentation/Java/scripts/unjarJavaDocumentation.sh when I was still using 1.4.1 and I've tried it again after installing 1.4.2 again to no avail. I got this after all of the needed files where extracted when I reattempted to install the java docs:
Code:
java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/docs.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
at java.io.FileInputStream.<init>(FileInputStream.jav a:66)
at sun.tools.jar.Main.run(Main.java:185)
at sun.tools.jar.Main.main(Main.java:904)
java.io.FileNotFoundException: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/appledocs.jar (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
at java.io.FileInputStream.<init>(FileInputStream.jav a:66)
at sun.tools.jar.Main.run(Main.java:185)
at sun.tools.jar.Main.main(Main.java:904)
ln: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/docs: No such file or directory
ln: /System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/appledocs: No such file or directory
Running PBHelpIndexer
Now I realize that most vesiges of 1.4.1 should have been removed whne 1.4.2 was installed. I feel though Apple should have given me (documented also) a method of reinstalling the needed docs.
Does anyone know how to repair this so I have my beautiful Java docs back?
Mahalo.
Comments
I downloaded the 1.4.2 docs from sun and stuck thos in an appropriat folder. I'm still missing Java 1.4 API Reference: Apple Extensions documentation and how do I update the document view to reflect the location of my 1.4.2 docs?
Mahalo.