Microsoft KB Archive/184071

= PRB: Fatal Error J0162: Failed To Initialize Compiler =

Article ID: 184071

Article Last Modified on 6/29/2004

-

APPLIES TO


 * Microsoft Java Virtual Machine
 * Microsoft Software Development Kit for Java 1.51
 * 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

-



This article was previously published under Q184071



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.

Keywords: kberrmsg kbprb kbcommandline kbarttypeinf KB184071

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.