The information in this article applies to:
SYMPTOMSCompiling some of the samples on the Visual J++ CD may result in the following error messages. JavaCallingCOMC:\Msdev\samples\microsoft\javacallingcom\usecom.java(10,8) : error J0051: Undefined package 'comserver' OLEControlsC:\Msdev\samples\microsoft\olecontrols\orgchart.java(8,8) : error J0051: Undefined package 'msoutl32' HTMLControlsC:\Msdev\samples\microsoft\htmlcontrols\updatecontrols.java(7,8) : error J0051: Undefined package 'intrinsc' DAOSampleC:\Msdev\samples\microsoft\daosample\dao_dbengine.java(3,8) : error J0049: Undefined name 'dao3032._DBEngine' RDOSampleC:\Msdev\samples\microsoft\rdosample\simplerdo.java(9,8) : error J0051: Undefined package 'msrdo32' COMCallingJavC:\Msdev\samples\microsoft\comcallingjava\euclid.java(8,8) : error J0051: Undefined package 'euclid' CabAndSignC:\Msdev\samples\microsoft\cabandsign\javabeep.java(31,2) : error J0049: Undefined name 'IBeeper' CAUSEThe samples listed above all require Java descriptions of the COM components they use. The build errors are generated if the Visual J++ Java Typelib Conversion Utility is not run on the type library required by the samples. RESOLUTION
You can create the Java description of COM components by running the Java
Type Library Wizard from within the IDE under menu Tools.Java Type Library
Wizard, or by running JavaTlb.exe from an MS-DOS command line.
STATUSThis behavior is by design. REFERENCESFor 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/ Additional query words: jvm jcom jdb
Keywords : kbtool kbGenInfo kbVJ |
Last Reviewed: November 8, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |