At 12:44 PM 4/22/99 -0700, Bruce Seely wrote:
>When I compile a file, the compilation command is including invalid flags.
>Does anyone know why?
>
Hi Bruce,
The command-line switches accepted by javac changed somewhat in JDK 1.2.
The JDE supports the latest (i.e., JDK 1.2) set of javac command-line
options. If you are using earlier versions of javac and you want to use a
command-line switch that is no longer supported by JDK 1.2 or has changed,
you have two options. In the case of the -depend switch, which changed to
-Xdepend in Java 1.2, you can cause the JDE to revert to the earlier form
by setting the jde-compile-option-depend-switch appropriately. In fact, you
need to do this, if you want to use the JDE's Java build command
(JDE->Build). For other switches that have changed, you can specify the
earlier form via the jde-compile-option-command-line-arg option.
- Paul