<HTML><HEAD><TITLE>Manpage of jikes</TITLE>
</HEAD><BODY>
<H1>jikes</H1>
Section: User Commands (1)<BR><A HREF="#index">Index</A>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
jikes - java source to bytecode compiler
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
jikes [<I>-options</I>] [<I>+options</I>] [<I>@files</I>]
<BR> <I>file.java</I>...
<P>
Options, @files, and filenames may be intermixed. Individual options
should not be repeated, unless noted below.
<P>
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<B>Jikes</B> translates Java(TM) source files to bytecode. Features
include strict adherence to the language specification, automatic
makefile generation and incremental compilation. It is maintained
by the Jikes Project.
<P>
At this time, jikes only recognizes the full name of options; you
cannot abbreviate or group them. You can give different argument types
in any order. Options are global, so they affect compilation of files
listed earlier on the command line. Duplicated options override the
previous one, unless otherwise listed. If an option is listed in the
form <B>+T=n</B>, it can also be specified as <B>+T n</B> or even
<B>+Tn</B>.
<P>
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<B>Jikes</B> may be invoked with the following command-line options:
<P>
<DL COMPACT>
<DT><B>-bootclasspath</B> <I>path</I><DD>
<DT><B>--bootclasspath</B> <I>path</I><DD>
Use path for the bootclasspath. This path is searched first for
library class files, and is usually set to <B>java/lib/classes.zip</B>
or <B>java/jre/lib/rt.jar</B>. This defaults to an empty path.
<P>
<DT><B>-classpath</B> <I>path</I><DD>
<DT><B>-cp</B> <I>path</I><DD>
<DT><B>--classpath</B> <I>path</I><DD>
Use path for CLASSPATH. This path is searched for both user source and
compiled class files. This defaults to the current directory.
<P>
<DT><B>-d</B> <I>directory</I><DD>
<DT><B>--target-directory</B> <I>directory</I><DD>
Write class files in the specified directory. Note that this directory is
NOT in your classpath unless you list it there as well. This defaults
to the current directory.
<P>
<DT><B>-debug<DD>
No effect (recognized for compatibility).
<P>
<DT>-depend<DD>
<DT>--depend<DD>
<DT>-Xdepend<DD>
Recompile all used classes.
<P>
<DT>-deprecation<DD>
<DT>--deprecation<DD>
Report uses of deprecated features.
<P>
<DT>-encoding</B> <I>encoding</I><DD>
<DT><B>--encoding</B> <I>encoding</I><DD>
Use specified encoding to read source files. This is not available in
some builds, because it requires a working iconv or ICU encoder.
<B>Note</B> that binary distributions for some platforms (such as
Windows) do NOT include support for the encoding option, as there
is not an adequate transcoding library available on all platforms by
default. You can tell if a binary has encoding support or not by
running <I>jikes --help</I> and looking for the --encoding option:
if it is not listed, then this binary does NOT include support for
encoding. This defaults to a platform-dependent encoding (such as
ASCII).
<P>
<DT><B>-extdirs</B> <I>path</I><DD>
<DT><B>--extdirs</B> <I>path</I><DD>
Use path for extensions directories. This is typically set to grab jar
and zip extension files located in <B>java/jre/lib/ext</B>. This
defaults to an empty path.
<P>
<DT><B>-g<DD>
Equivalent to -g:source,lines,vars</B>.
<P>
<DT><B>-g:none</B>|{<B>source,lines,vars</B>}<DD>
Specify which of three classfile debug options should be enabled. If
this is not specified, the default is
<B>source,lines</B>. <B>source</B> stores the filename of the source
file in the class file, <B>lines</B> adds line number tracking to tie
bytecodes to their location in the source file, and <B>vars</B> adds a
table in the class file which stores the name of local variables and
parameters, as well as their scope. This defaults to line and source
information, but not vars.
<P>
<DT><B>-help<DD>
<DT>--help<DD>
<DT>-h<DD>
<DT>-?<DD>
Prints a helpful summary of options, then exit. Overrides all other
options, and nothing is compiled.
<P>
<DT>-J</B>...<DD>
No effect, since jikes is native code, and does not need a Virtual
Machine (ignored for compatibility).
<P>
<DT><B>-nowarn<DD>
<DT>--nowarn<DD>
<DT>-q<DD>
Do not issue warning messages. For greater control over warnings
and cautions, see the +Z option.
<P>
<DT>-nowrite<DD>
<DT>--nowrite<DD>
Do not write any class files, but list which ones would be written if
used with -verbose</B>.
<P>
<DT><B>-O<DD>
<DT>--optimize<DD>
Optimize the bytecode. Technically, this means jikes should inline
private and final methods where appropriate, but currently it does
nothing.
<P>
<DT>-source</B> <I>release</I><DD>
<DT><B>--source</B> <I>release</I><DD>
Specify which Java SDK release the source syntax obeys. For example,
to treat the <I>assert</I> keyword as a normal identifier, you can use
<B>-source 1.3</B>. Setting a lower target results in backward
compatibility compilation of old source files. Valid releases are 1.3
(Java Language Specification, 2nd edition), and 1.4 (addition of the
assert statement, JSR 41). Plans are underway to eventually support
1.5 (addition of generics: JSR 14; autoboxing, enhanced for-loop,
static import, enums, and varargs: JSR 201; metadata: JSR 175; and
updated .class file format: JSR 202; ultimately the Java Language
Specification, 3rd edition). If not specified, this defaults to the
valid value closest to the one specified or defaulted for
<B>-target</B> (typically 1.4).
<P>
<DT><B>-sourcepath</B> path<DD>
<DT><B>--sourcepath</B> path<DD>
Use path for specifying user "source only" directories. Class files in
this path are ignored unless listed in other paths. This defaults to
the empty path.
<P>
<DT><B>-target</B> <I>release</I><DD>
<DT><B>--target</B> <I>release</I><DD>
Specify which Java SDK release the bytecode should target. For
example, exception chaining was introduced in the 1.4 release, so a
failed class literal can chain the NoClassDefFoundError to its
original ClassNotFoundException; while the behavior in the 1.3 release
simply discards the original exception. To get the old behavior, you
can use <B>-target 1.3</B>. Setting a lower target results in forward
compatibility to older virtual machines, and some source constructs
will be compiled to less efficient workarounds in order to avoid known
virtual machine bugs or deficiencies. However, a lower target may
occaisionally produce incorrect semantic behavior. Furthermore, some
language features require virtual machine support, where there are no
known workarounds in earlier releases: the assert statement requires
1.4 (unless you also use <B>-noassert</B>), and the planned addition
of typesafe enumerations will require 1.5. The planned addition of
type parameterization (also known as generics) will work with 1.1.
Valid releases are 1.1, 1.2, 1.3, 1.4, and 1.4.2; plans are underway
to support 1.5. If not specified, this defaults to the value
specified for <B>-source</B>, and if that is not specified, this
defaults to 1.4.2.
<P>
<DT><B>-verbose<DD>
<DT>--verbose<DD>
<DT>-v<DD>
List files read and written. Also useful with -nowrite</B> for a
dry run to track dependencies.
<P>
<DT><B>-version<DD>
<DT>--version<DD>
<DT>-V<DD>
Print a version message, and contact information, then exit. Overrides
all other options except --help</B>, and nothing is compiled.
<P>
<DT><B>-Werror<DD>
Equivalent to +Z2, provided for javac compatibility.
<P>
<DT>-Xstdout<DD>
Write error messages to standard output, not stderr. At the moment,
this is incompatible with javac, which takes an argument as the name
of the file where it will direct compiler message output.
<P>
<DT>-Xswitchcheck<DD>
Synonym to +Pswitchcheck</B>. Warns about fallthrough switch cases.
<P>
<DT><B>++<DD>
<DT>--incremental<DD>
Compile in incremental mode. In this mode, jikes stays resident, and
every keypress of </B><I>Enter</I> will trigger a recompilation of every
source file rendered out-of-date by file modifications since the
last co
jikes-1.22-1.windows.rar_eclipse jikes _eclipse id3_jikes_jik
版权申诉
19 浏览量
2022-09-24
14:08:52
上传
评论
收藏 533KB RAR 举报
weixin_42651887
- 粉丝: 75
- 资源: 1万+
最新资源
- mybatis中的动态sql, 涉及 where trim set if foreach等
- 简单- 快递运输(Java & JS & Python & C).html
- mybatis框架 更改ems系统,使用动态sql等.zip
- 易语言工具条下拉菜单实现
- Mybatis动态SQL高级映射.zip
- 源码esp8266开发板机智云机智云智能灯
- Python实现多图像转换成连贯的PDF文件,支持所有图片格式,可预览、裁剪、自定义PDF布局、设置图像顺序、PDF质量选择等
- H5腾讯地图选择位置组件
- 基于UCC28019+LM5017电源板硬件(原理图+PCB)工程文件.zip
- 源码esp8266开发板机智云机智云空气净化器
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈