Configuring Jactivex
Jactivex is designed for backward compatibility with the javatlb tool. In most cases, upgrading to jactivex should require only the following three modifications to your makefiles or build scripts.
- Replace references to javatlb with references to jactivex.
- Add the appropriate command-line switch (/javatlb) in any scripts to access jactivex features.
- Upgrade to a compiler for Java that recognizes the new @com directives generated by jactivex. If you are using the Visual J++ compiler, use version 1.02.3920 or later to compile the output from jactivex. Earlier versions of jvc will not issue a compile-time error, but the class files they generate will not work. For the version number of jvc included in the \Relnotes directory of this SDK, see build.txt. For more information about the @com directives, see the Java/COM Attributes Reference.
Note By default, jvc disables the @com and @dll directives. To enable these, use the jvc /x- option.
Correspondence between Jactivex and Javatlb Command-Line Options
Javatlb |
Jactivex |
Notes |
/d dir |
/javatlb /d dir |
Work identically. |
/p package |
/javatlb /p package |
Work identically. |
/p:b- |
/javatlb /p:b- |
Work identically. |
/X:m- |
/javatlb /X:m- |
Work identically. |
/U |
N/A |
Not supported in jactivex.* |
/U:T |
N/A |
Not supported in jactivex.* |
*Jactivex does not support the generation of summary.txt files as did javatlb because jactivex generates human-readable .java source.
© 1999 Microsoft Corporation. All rights reserved. Terms of use.