HOWTO: Use Third-Party Packages from Visual J++ 6.0
ID: Q243022
|
The information in this article applies to:
-
Microsoft Visual J++, version 6.0
-
Microsoft virtual machine
SUMMARY
This article illustrates how to access third-party packages from within Visual J++ 6.0.
MORE INFORMATION
NOTE: The Microsoft virtual machine (Microsoft VM), does not support JDK versions later than JDK 1.1.4. Packages must be found within or be compatible with the JDK version 1.1.4.
The following steps illustrate how to access a third-party package:
- If you have a Java Archived Redistribution format (JAR) file that compression is one or less proceed to step two. Otherwise, uncompress the third-party JAR file and re-zip it without compression, creating a file such as Mypackage.zip.
- Place the JAR file or new zip file in the following directory:
C:\%windir%\java\classes
- Modify the CLASSPATH in the registry. Run RegEdit.exe and locate the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Java VM
and modify the CLASSPATH string to include the JAR file or new zipped file. For example:
C:\%windir%\java\classes\mypackage.zip
needs to be added to the end of the string, and don't forget the semi-colon separating each entry in the string. Also note the "." at the end of the CLASSPATH string.
You should now be able to access and use the third-party classes from within Visual J++ 6.0.
The following is a list Packages that have been known to be accessed with Visual J++ area:
- BEA Jolt 1.1
- JClass
- JGL
- JFC/Swing
REFERENCES
Currently the Microsoft Virtual Machine only supports up to JDK 1.1.4 versions.
Another reference discussing compatibility of the Microsoft VM with the Sun JDK:
Q214828 INFO: JDK Compatibility for Microsoft VM
For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java,
please see the following pages on the Microsoft Technical Support site:
http://support.microsoft.com/support/visualj/
http://support.microsoft.com/support/java/
Additional query words:
Keywords : kbJavaVM kbVJ600 kbGrpJava kbDSupport
Version : WINDOWS:6.0
Platform : WINDOWS
Issue type : kbhowto