INFO: How Do I run JavaSrc After Installing Classes.zipLast reviewed: January 29, 1998Article ID: Q167938 |
The information in this article applies to:
SUMMARYThis article describes the JavaSrc.exe utility installed by Visual J++ and the SDK for Java 2.0. This tool helps extract Java sources from Classes.zip file. It also discusses the problem that occurs when you run JavaSrc on Classes.zip file and a message stating that the Classes.zip file did not contain any Java sources appears.
MORE INFORMATIONJavaSrc is a utility for extracting .JAVA files from a .ZIP file. It extracts the source files for the Java class libraries from the Microsoft version of Classes.zip. Visual J++ installs this tool in the directory %windir%\java\classes\ and the SDK installs the tool into <sdkdir>\bin. To extract the .JAVA files from Classes.zip, use the following command:
javasrc classes.zipThis creates a directory tree below the directory that Classes.zip resides in and contains the source files for the Java class libraries. Whenever a new version of Classes.zip is installed, you should run the JavaSrc.exe tool. Sometimes when you run JavaSrc on Classes.zip file, a dialog box appears with the message that the installed version of 'Classes.zip' is not a developer version and it does not contain any javasources. This problem could occur because the Classes.zip file was updated during an Internet Explorer or Java Virtual Machine installation. This could cause a version mismatch of the Classes.zip file. In this case, delete the Classes.zip file from %windir%\java\classes directory, then try installing the classd.exe file from http://www.microsoft.com/java by following the download link. NOTE: Before you install the updated Classes.zip file, make sure you have the latest Microsoft Virtual Machine for Java on http://www.microsoft.com/java. See the References section of this article for more information. If you are running the SDK for Java 2.0, you may use the classd.exe file located in your <sdkinstall-dir>\bin directory. Then run classd.exe in the Windows Explorer. This should install Classes.zip file. Then run JavaSrc.exe on Classes.zip, which should extract all the Java source files. To delete the extracted Java source files from the hard drive, use the following command:
javasrc -classes.zip REFERENCESFor additional information on how to find the latest Microsoft Virtual Machine, please see the following article(s) in the Microsoft Knowledge Base:
ARTICLE-ID: Q163637 TITLE : Availability of Current Build of Microsoft VM for JavaFor the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/ http://support.microsoft.com/support/java/ Keywords : kbusage VJGenIss Technology : kbInetDev Version : 1.0 1.1 Platform : WINDOWS |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |