Microsoft® SDK for Java 2.0 Preview Release Notes |
![]() Welcome! |
![]() Index |
Welcome to this preview version of Microsoft SDK for Java 2.0. This preview version of the SDK includes:
Please read the beta license agreement before using the SDK. Send your comments using the public forums //msnews.microsoft.com/microsoft.public.java.sdk for SDK discussions or //msnews.microsoft.com/microsoft.public.java.afc for AFC discussions. Please send bug reports with repro steps following the instruction in the support section of this release note.
This SDK requires Windows 95 or Windows NT 4.0 (except for AFC cross platform files, see below). Please install the latest version of Internet Explorer for development and before you install the SDK on your machine.
AFC is implemented in Java and designed to run on multiple platforms and virtual machines. For further information about additional platforms, see the 'Known Issues' section below. Please note that in this beta release, AFC will run only on virtual machines supporting JDK 1.1, including the Microsoft virtual machine included with the SDK. AFC will work on both JDK 1.0.2 and JDK 1.1-compatible virtual machines by the final release.
In addition, all virtual machines do not function identically, and while AFC currently runs on 1.1 platforms today, it does not yet do so reliably (for example, Virtual Machine (VM) behavior varies between Javasoft's JDK 1.1 on Win32 and Javasoft's JDK 1.1 on Solaris). Please report any problems you encounter when testing AFC on additional platforms using the on-line bug reporting mechanism on http://www.microsoft.com/java/sdk.
The steps to install the SDK are the following:
Windows 95 users will have to install the DCOM update by double-clicking on dcom95.exe in the BIN directory.
If you choose not to install the latest Microsoft VM for Java, you can do so later by double-clicking on msjavavm.exe in the BIN directory.
Runtime of featured class libraries need to be installed before running any samples for those packages. The runtime will be provided in the JavaOne CD uncompressed directory and also be posted on the SDK2.0 preview web page for individual download per user's choice.
This SDK includes a developer version (with debugging information) of the classes.zip file. You may install it by running classd.exe in the SDK \Bin directory.
If you are using AFC on platforms other than Internet Explorer or the Microsoft virtual machine and do not wish to install the entire SDK, the AFC_ONLY directory contains everything you need to install and run AFC. However, if you are installing the entire SDK you can ignore this section as AFC will automatically be installed on your machine as part of the SDK installation process.
The AFC_ONLY directory contains:
To install AFC:
Please note that in this release, AFC.ZIP should be used only on VMs that are JDK 1.1 compliant.
AFCSAMP.ZIP contains some AFC samples that you might find useful. Please unzip into a location that is convenient (such as $HOME/src/java/AFC).
No component of the preview SDK is redistributable. The final release of the SDK will include a freely redistributable version of the Microsoft virtual machine on Win32. The license accompanying the final SDK release needs to be accepted to get the right to redistribute parts of the SDK.
The SDK beta includes both software and documentation.
The latest release of msvmjava.exe supports the following:
Enhanced JIT performance and reduced working set requirements
Enhanced interpreter loop performance
Initial JDK1.1 Support
The Microsoft virtual machine now supports serialization and reflection as defined by JDK1.1.
Java and COM
SafeArray.class now has public methods to access array data.
COM custom marshalling provides better control of how data is passed in and out of the virtual machine
ActiveX and Java Beans support
Any Bean is exposed as an ActiveX control and any ActiveX controls is exposed as a Bean.
Auto-IDispatch now uses introspection to expose the necessary public classes and variables.
ITypeInfo is provided on a class automatically and a type library can be persisted for a class.
Event sourcing and sinking is supported.
Security Model
As with previous versions of the Microsoft virtual machine, this version supports digital signing and the option to execute signed code as trusted. In our next beta release, we will be premiering Microsoft's capabilities-based Authenticode 2 security model for finer grained access to system resources like the file system or subnet addresses.
Please make sure that you update your system with the latest Microsoft virtual machine, by double clicking on "msjavavm.exe" in the BIN directory, if you did not update this when installing the SDK for Java 2.0
To get more information on working with the Microsoft virtual machine, please check out the SDK documentation on this subject.
This release of the VM strictly enforces the following requirement: for a class to access methods of a second class in another package, the second class must be declared public. Previous releases did not enforce this requirement. Hence some applets that worked before may display errors with the new virtual machine. It is advisable to make the packages conform to this Java requirement.
For more detailed description of the new and updated API's, see the SDK documentation.
The SDK provides a rich set of class libraries.
We have included:
Please see DirectX3 release notes for known issues and further information.
Microsoft's Application Foundation Classes (AFC) are a comprehensive set of Java class libraries providing user interface controls and graphics and effects classes. AFC's UI controls give Java developers a rich set of UI elements from which they can quickly build compelling, flexible and powerful user interfaces for their applications, enhanced by the innovative graphics techniques exposed for the first time by the Fx graphics and effects classes.
Written in Java, AFC ensures that applications built using these classes can be written once to run on any of the popular platforms and browsers that support Java. The AFC UI controls are defaulted to the Windows UI, but are fully customizable to reflect the needs of application and applet designers. AFC supports Active Accessibility for Java, so any application developed using AFC is automatically accessibility-enabled. AFC comprises:
Here is the list of the tools and utilities that are provided in this SDK. For details, please check out the SDK documentation under the title Tools.
JVC.exe:Latest beta version of Java compiler with full JDK 1.1 support including:
For detailed release information, please refer to the JVC release note and SDK documentation.
JCOM:A new powerful COM support tool which should be used in conjunction with the latest JVC provided in this SDK only. For detailed information, please refer to the documentation under tools, JCOM.
QVUE: QVUE can be used for generating a class file summary for any class file, not just those created by JCOM. It prints out class method signatures, and identify .class files that were generated from a type library. The qvue tool is similar to the /U switch on JavaTLB (which printed out class file summaries.) It supports one switch (/s) (print short summary only). This tool is convenient for selecting the correct classfile to use when the classfiles are generated from a type library using JCOM.
JView.exe:Java Application Viewer
AppletViewer.exe: Java applet viewer with internationalization enabled
Jexegen.exe: A tool to convert stand alone Java application into native executable binaries
Msjavah.exe: Updated Microsoft version of C header file generator, check documentation for usage
Regbean.exe: A tool to register a Java Beans control and create a type library for tools such as Visual Basic.
Native.h: Header file for writing raw native code interface
Nativecom.h: This header exposes public COM APIs exposed by the VM
Cabarc: Updated compression tool, which will help developers make compressed self extracting Java programs for download
Note for VJ++ users: Please be aware that the SDK contains the latest beta version of JVC for use with JDK1.1 development. Javatlb has been removed, so user can use JCOM+JVC to produce the same output. If you are doing commercial Java development and are not dependent on any of the new JDK 1.1 features, you should use the retail version of JVC that came with the VJ++.
There two types of sample code being provided in this release. One is the sample code under \ClassLib\Samples, which may require a runtime, and the other is the sample code under \MsVmJava\Samples that demonstrate VM's enhanced functionality.
Please use the on-line bug report provided on our http://www.microsoft.com/java/sdk page. Microsoft will screen the bugs on a regular basis, and will be working on bug fixes. The bug fixes or work-around will be posted on the Web as soon as possible; news group may also be notified (see the public forums //msnews.microsoft.com/microsoft.public.java.sdk for SDK discussions or //msnews.microsoft.com/microsoft.public.java.afc for AFC discussions).
© 1997 Microsoft Corporation. All rights reserved. Legal Notices.