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

ID: Q177165


The information in this article applies to:
  • Microsoft SDK for Java, versions 2.0, 2.01, 2.02, 3.0, 3.1, 3.2
  • Microsoft Visual J++, versions 1.0, 1.1


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:

http://support.microsoft.com/support/visualj/

http://support.microsoft.com/support/java/

Additional query words:

Keywords : kbnokeyword kbSDKJava300 kbVJ kbSDKJava310 kbSDKJavaFAQ
Version : WINDOWS:1.0,1.1,2.0,2.01,2.02,3.0,3.1,3.2
Platform : WINDOWS
Issue type : kbinfo


Last Reviewed: November 16, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.