Ja.NET Standard Edition 5.0

Tools Documentation

Tools Main

javac - Java language compiler

Usage: javac [options] [javaSourceFiles] [@argfile]

Description

The javac compiler included in Ja.NET is based on a modified Eclipse JDT batch compiler.  It has been enhanced to support code generation for both .NET and a standard Java platform. By default, the compiler will emit code for the .NET platform.  The compiler options available to you are a superset of those available for the Eclipse batch compiler, and include both new and modified options specific for .NET.  We have included the .NET specific options below for your reference. For a complete list of compiler options, you can reference the online Eclipse batch compiler documentation.

When javac is searching for types, it first looks for a source file. Then it looks for a class file by searching on the bootstrap, extensions, and user class path; in that order.  You can specify .NET assemblies on the class path, as well as jar files and directories.  Whenever the javac compiler needs to resolve or locate an assembly, it will search the bootstrap, extensions and user class path, in that order, searching for the assembly file.  If it cannot be found, the compilation will terminate with error.

Ja.NET SE Related Options