INFO: Use New Java 1.1 Language Features with Visual J++ 1.1 (177165)



The information in this article applies to:

  • Microsoft SDK for Java 2.0
  • Microsoft SDK for Java 2.01
  • Microsoft SDK for Java 2.02
  • Microsoft SDK for Java 3.0
  • Microsoft SDK for Java 3.1
  • Microsoft SDK for Java 3.2
  • Microsoft Visual J++ 1.0
  • Microsoft Visual J++ 1.1

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.

REFERENCES

For the latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following pages on the Microsoft Technical Support site:

Modification Type:MinorLast Reviewed:8/25/2005
Keywords:kbFAQ kbinfo KB177165