Microsoft KB Archive/177165

= INFO: Use New Java 1.1 Language Features with Visual J++ 1.1 =

Article ID: 177165

Article Last Modified on 8/25/2005

-

APPLIES TO


 * Microsoft Software Development Kit for Java 2.02
 * Microsoft Software Development Kit for Java 2.01
 * Microsoft Software Development Kit for Java 2.02
 * Microsoft Software Development Kit for Java 3.0
 * Microsoft Software Development Kit for Java 3.1
 * Microsoft Software Development Kit for Java 3.2
 * Microsoft Visual J++ 1.0 Standard Edition
 * Microsoft Visual J++ 1.1 Standard Edition

-



This article was previously published under Q177165



SUMMARY
The new features of the Java programming language version 1.1 include the following:
 * Inner Classes
 * Anonymous Classes
 * Instance Initializers
 * Anonymous Array Expressions
 * Class Literals
 * Blank Finals and Final Locals
 * The @deprecated Tag

The new Java Compiler included with the Microsoft SDK for Java 2.01 and later includes the ability to compile code with these features plus the following:
 * Uncompressed JAR File Support
 * Support @COM syntax for JActiveX users
 * Support @DLL syntax for JDirect users

Installing the SDK 2.01 or later will not automatically replace the Visual J++ compiler if a developer has Visual J++ installed. Please see the MORE INFORMATION section to use the new compiler with Visual J++ 1.1.



MORE INFORMATION
It is possible to use these new language features with Visual J++ 1.1. You can do this by replacing the compiler file in Visual J++ with three files from the Microsoft SDK for Java. First, save a copy of the compiler (Jvc.exe) from your existing Visual J++ installation. Next, copy Jvc.exe, Jps.dll and Msjvc.dll into your Visual J++ directory. Projects will then build using the new compiler.

