PRB: Fatal Error J0162: Failed To Initialize Compiler

ID: Q184071


The information in this article applies to:
  • Microsoft Win32 Virtual Machine
  • Microsoft SDK for Java, versions 1.51, 2.0, 2.01, 2.02, 3.0, 3.1


SYMPTOMS

When running Jvc.exe from the SDK for Java 3.x, the following error occurs:

Microsoft (R) Visual J++ Compiler Version 6.00.8052
Copyright (C) Microsoft Corp 1996-1997. All rights reserved.

fatal error J0162: Failed to initialize compiler


CAUSE

One cause of this error is when the compiler from the SDK for Java 3.x Preview 1 is used with a version of the Virtual Machine for Java that is older than the one included in the same SDK (build 4.79.2829 in SDK for Java 3.0 and build 4.79.2924 for SDK for Java 3.1.


RESOLUTION

To avoid the problem, use Jvc.exe, version 6.00.8167 or greater, only with Virtual Machine for Java builds 4.79.2829 or greater.

NOTE: Older, released compiler versions are known to operate correctly on the Virtual Machine for Java build with which they shipped. They should operate correctly on newer Virtual Machine builds as well, but were not specifically tested on newer versions.


STATUS

This behavior is by design.


MORE INFORMATION

This problem occurs because the new compiler version (6.00.8052) requires the new Virtual Machine's implementation of the package manager interface.

Steps to Reproduce Behavior

  1. Run Jvc.exe from the SDK for Java 3.0 on a machine with an older Virtual Machine installed. For example, Virtual Machine for Java build 4.79.2424 from the SDK for Java 2.02.


Additional query words:

Keywords : kberrmsg kbnokeyword kbCommandLine kbGenInfo kbVJ JVM
Version : WINDOWS:1.51,2.0,2.01,2.02,3.0,3.1
Platform : WINDOWS
Issue type : kbprb


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