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

Last reviewed: January 29, 1998
Article ID: Q177165
The information in this article applies to:
  • SDK for Java, version 2.0, 2.01
  • 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 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 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 page on the Microsoft Technical Support site:

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

Keywords          : VJMisc
Technology        : kbInetDev
Version           : WINDOWS:1.0,1.1,2.0,2.01
Platform          : WINDOWS
Issue type        : kbinfo


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 29, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.