--- title: "Using the Microsoft SDK for Java | Microsoft Docs" ms.prod: sql ms.prod_service: connectivity ms.technology: connectivity ms.custom: "" ms.date: 11/08/2018 ms.reviewer: "" ms.topic: conceptual helpviewer_keywords: - "Java (Microsoft SDK for)" - "Microsoft SDK for Java [ADO]" ms.assetid: 2d7cb5b5-8307-49dd-b07e-c07069bb1626 author: MightyPen ms.author: genemi --- # Using the Microsoft SDK for Java > [!IMPORTANT] > Microsoft discontinued support of Visual J++ in January 2004. The Microsoft SDK for Java is the developer kit for the Microsoft Internet Explorer environment. Tools, information, and samples are provided to help you develop Java programs and applets based on JDK 1.1 and the Microsoft Win32 virtual machine (Microsoft VM). The Microsoft SDK for Java is not tied to Microsoft Visual J++. To download this SDK, click here. The Jactivex.exe utility generates classes from a type library but can only be invoked on the command line. This feature is not integrated with the Visual J++ development environment. Unlike the classes generated by the Java Type Library Wizard, you can step into the class wrappers created by the SDK. This is useful for debugging how your code uses the ADO wrapper classes. This mechanism reads the ADO type library and generates classes that you can instantiate within your application. It generates those classes in the following location: \\\Java\trustlib\msado15. Creating an ADO application in Java using the Microsoft SDK for Java is fundamentally identical, from the perspective of source code, to using the Java Type Library Wizard. For sample code, see [ADO Java Class Wrappers](../../../ado/guide/appendixes/ado-java-class-wrappers.md). The only real difference is in how you generate the wrapper classes in the first place, as demonstrated in the following steps. ### To create an ADO project with the Microsoft SDK for Java 1. Run the following at a command prompt. You must set the path to include the Microsoft SDK for Java Bin directory, or run the command from that location. Typically, the Microsoft SDK for Java is installed in the same location as Visual Studio. This is a single command statement. ```java \\\bin\JactiveX.exe /javatlb "C:\program files\common files\system\ado\msado15.dll" ``` 2. Run the following command to compile the generated classes. The /g:t switch turns on generation of debug symbols so that you can trace into the .Java symbols. Remove it for release builds. ```java jvc /g:t c:\\Java\trustlib\msado15\*.Java ``` 3. To use these files, open your project in Visual J++. From the **Project** menu, choose **Add To Project**. Select **Files**, and add all of the .JAVA files generated in the trustlib\msado15 directory to your project. ## See Also [ADO Java Class Wrappers](../../../ado/guide/appendixes/ado-java-class-wrappers.md)