jdk/src/linux/doc/man/ja/jjs.1
author duke
Wed, 05 Jul 2017 19:38:35 +0200
changeset 24077 0809c9a4d36e
parent 23600 d21826f6c789
child 30373 7b7094f0b833
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     1
'\" t
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     2
.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     3
.\" Title: jjs
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     4
.\" Language: English
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     5
.\" Date: 2013年11月21日
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     6
.\" SectDesc: 基本ツール
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     7
.\" Software: JDK 8
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     8
.\" Arch: 汎用
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
     9
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    10
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    11
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    12
.\" This code is free software; you can redistribute it and/or modify it
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    13
.\" under the terms of the GNU General Public License version 2 only, as
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    14
.\" published by the Free Software Foundation.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    15
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    16
.\" This code is distributed in the hope that it will be useful, but WITHOUT
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    17
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    18
.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    19
.\" version 2 for more details (a copy is included in the LICENSE file that
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    20
.\" accompanied this code).
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    21
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    22
.\" You should have received a copy of the GNU General Public License version
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    23
.\" 2 along with this work; if not, write to the Free Software Foundation,
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    24
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    25
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    26
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    27
.\" or visit www.oracle.com if you need additional information or have any
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    28
.\" questions.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    29
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    30
.pl 99999
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    31
.TH "jjs" "1" "2013年11月21日" "JDK 8" "基本ツール"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    32
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    33
.\" * Define some portability stuff
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    34
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    35
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    36
.\" http://bugs.debian.org/507673
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    37
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    38
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    39
.ie \n(.g .ds Aq \(aq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    40
.el       .ds Aq '
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    41
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    42
.\" * set default formatting
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    43
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    44
.\" disable hyphenation
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    45
.nh
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    46
.\" disable justification (adjust text to left margin only)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    47
.ad l
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    48
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    49
.\" * MAIN CONTENT STARTS HERE *
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    50
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    51
.SH "NAME"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    52
jjs \- Nashornエンジンを呼び出します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    53
.SH "概要"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    54
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    55
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    56
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    57
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    58
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    59
\fIjjs\fR [\fIoptions\fR] [\fIscript\-files\fR] [\-\- \fIarguments\fR]
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    60
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    61
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    62
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    63
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    64
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    65
\fIoptions\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    66
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    67
空白文字で区切られた、\fIjjs\fRコマンドの1つ以上のオプション。詳細は、オプションを参照してください。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    68
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    69
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    70
\fIscript\-files\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    71
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    72
空白文字で区切られた、Nashornを使用して解釈する1つ以上のスクリプト・ファイル。ファイルが指定されない場合は、対話型シェルが起動されます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    73
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    74
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    75
\fIarguments\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    76
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    77
二重ハイフン・マーカー(\fI\-\-\fR)の後のすべての値が、引数としてスクリプトまたは対話型シェルに渡されます。これらの値には\fIarguments\fRプロパティを使用してアクセスできます(Example 3を参照してください)。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    78
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    79
.SH "説明"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    80
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    81
\fIjjs\fRコマンドライン・ツールを使用してNashornエンジンを呼び出します。これを使用して、1つまたは複数のスクリプト・ファイルを解釈したり、対話型シェルを実行することができます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    82
.SH "オプション"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    83
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    84
\fIjjs\fRコマンドのオプションはスクリプトがNashornによって解釈される条件を制御します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    85
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    86
\-ccs=\fIsize\fR, \-\-class\-cache\-size=\fIsize\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    87
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    88
クラス・キャッシュ・サイズをバイト単位で設定します。キロバイト(KB)を示すために\fIk\fRまたは\fIK\fRの文字を追加し、メガバイト(MB)を示すために\fIm\fRまたは\fIM\fRの文字を追加し、ギガバイト(GB)を示すために\fIg\fRまたは\fIG\fRを追加します。デフォルトでは、クラス・キャッシュ・サイズは50バイトに設定されます。次の例は、1024バイト(1 KB)に設定する方法を示します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    89
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    90
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    91
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    92
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    93
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    94
\-css=100
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    95
\-css=1k
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    96
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    97
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    98
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
    99
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   100
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   101
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   102
\-co, \-\-compile\-only
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   103
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   104
スクリプトを実行せずにコンパイルします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   105
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   106
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   107
\-cp \fIpath\fR, \-\-classpath \fIpath\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   108
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   109
サポートするクラスへのパスを指定します。複数のパスを設定するには、このオプションを繰り返すか、または各パスをコロン(:)で区切ります。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   110
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   111
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   112
\-D\fIname\fR=\fIvalue\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   113
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   114
プロパティ名に値を割り当てることで、スクリプトに渡すシステム・プロパティを設定します。次の例で、対話型モードでNashornを呼び出して、\fImyValue\fRを\fImyKey\fRという名前のプロパティに割り当てる方法を示します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   115
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   116
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   117
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   118
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   119
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   120
>> \fBjjs \-DmyKey=myValue\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   121
jjs> \fBjava\&.lang\&.System\&.getProperty("myKey")\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   122
myValue
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   123
jjs>
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   124
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   125
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   126
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   127
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   128
このオプションを繰り返し使用すると、複数のプロパティを設定できます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   129
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   130
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   131
\-d=\fIpath\fR, \-\-dump\-debug\-dir=\fIpath\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   132
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   133
クラス・ファイルをダンプするディレクトリへのパスを指定します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   134
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   135
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   136
\-\-debug\-lines
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   137
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   138
クラス・ファイル内の行番号表を生成します。デフォルトでは、このオプションは有効になっています。無効にするには\fI\-\-debug\-lines=false\fRを指定します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   139
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   140
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   141
\-\-debug\-locals
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   142
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   143
クラス・ファイル内のローカル変数を生成します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   144
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   145
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   146
\-doe, \-\-dump\-on\-error
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   147
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   148
エラーが発生したときに、フル・スタック・トレースを提供します。デフォルトでは、簡単なエラー・メッセージのみが出力されます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   149
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   150
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   151
\-\-early\-lvalue\-error
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   152
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   153
無効な左辺値式が早期エラーとして(つまり、コードが解析されるときに)報告されます。デフォルトでは、このオプションは有効になっています。無効にするには\fI\-\-early\-lvalue\-error=false\fRを指定します。無効な場合、無効な左辺値式はコードが実行されるまで報告されません。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   154
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   155
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   156
\-\-empty\-statements
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   157
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   158
空の文をJavaの抽象構文ツリーに保存します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   159
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   160
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   161
\-fv, \-\-fullversion
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   162
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   163
完全なNashornバージョン文字列を出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   164
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   165
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   166
\-\-function\-statement\-error
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   167
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   168
関数の宣言が文として使用されるとエラー・メッセージが出力されます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   169
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   170
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   171
\-\-function\-statement\-warning
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   172
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   173
関数の宣言が文として使用されると警告メッセージが出力されます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   174
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   175
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   176
\-fx
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   177
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   178
スクリプトをJavaFXアプリケーションとして起動します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   179
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   180
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   181
\-h, \-help
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   182
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   183
オプションのリストとその説明を出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   184
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   185
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   186
\-J\fIoption\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   187
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   188
指定した\fIjava\fR起動オプションをJVMに渡します。次の例で、対話型モードでNashornを呼び出して、JVMによって使用される最大メモリーを4 GBに設定する方法を示します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   189
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   190
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   191
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   192
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   193
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   194
>> \fBjjs \-J\-Xmx4g\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   195
jjs> \fBjava\&.lang\&.Runtime\&.getRuntime()\&.maxMemory()\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   196
3817799680
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   197
jjs>
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   198
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   199
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   200
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   201
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   202
このオプションを繰り返し使用すると、複数の\fIjava\fRコマンド・オプションを渡すことができます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   203
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   204
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   205
\-\-lazy\-compilation
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   206
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   207
レイジー・コード生成戦略(つまり、スクリプト全体が一度にコンパイルされない)を有効にします。このオプションは試験的なものです。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   208
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   209
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   210
\-\-loader\-per\-compile
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   211
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   212
コンパイルごとに新しいクラス・ローダーを作成します。デフォルトでは、このオプションは有効になっています。無効にするには\fI\-\-loader\-per\-compile=false\fRを指定します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   213
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   214
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   215
\-\-log=\fIsubsystem\fR:\fIlevel\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   216
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   217
指定されたサブシステムに対して、特定のレベルでロギングを実行します。カンマで区切って複数のサブシステムのロギング・レベルを指定できます。次に例を示します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   218
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   219
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   220
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   221
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   222
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   223
\-\-log=fields:finest,codegen:info
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   224
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   225
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   226
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   227
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   228
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   229
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   230
\-\-package=\fIname\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   231
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   232
生成されたクラス・ファイルを追加するパッケージを指定します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   233
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   234
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   235
\-\-parse\-only
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   236
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   237
コンパイルせずにコードを解析します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   238
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   239
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   240
\-\-print\-ast
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   241
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   242
抽象構文ツリーを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   243
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   244
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   245
\-\-print\-code
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   246
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   247
バイトコードを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   248
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   249
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   250
\-\-print\-lower\-ast
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   251
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   252
掘り下げた抽象構文ツリーを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   253
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   254
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   255
\-\-print\-lower\-parse
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   256
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   257
掘り下げた解析ツリーを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   258
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   259
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   260
\-\-print\-no\-newline
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   261
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   262
その他の\fI\-\-print*\fRオプションで強制的に1行で出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   263
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   264
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   265
\-\-print\-parse
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   266
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   267
解析ツリーを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   268
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   269
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   270
\-\-print\-symbols
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   271
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   272
記号表を出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   273
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   274
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   275
\-pcs, \-\-profile\-callsites
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   276
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   277
呼び出しサイトのプロファイル・データをダンプします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   278
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   279
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   280
\-scripting
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   281
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   282
シェルのスクリプト機能を有効にします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   283
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   284
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   285
\-\-stderr=\fIfilename\fR|\fIstream\fR|\fItty\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   286
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   287
標準エラー・ストリームを指定したファイル、ストリーム(たとえば\fIstdout\fR)に、またはテキスト端末にリダイレクトします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   288
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   289
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   290
\-\-stdout=\fIfilename\fR|\fIstream\fR|\fItty\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   291
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   292
標準出力ストリームを指定したファイル、ストリーム(たとえば\fIstderr\fR)に、またはテキスト端末にリダイレクトします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   293
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   294
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   295
\-strict
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   296
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   297
標準(ECMAScript Edition 5\&.1)への準拠を強化するstrictモードを有効にし、これにより共通のコーディング・エラーを簡単に検出できるようになります。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   298
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   299
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   300
\-t=\fIzone\fR, \-timezone=\fIzone\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   301
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   302
スクリプトの実行に対し指定したタイムゾーンを設定します。OSで設定されたタイムゾーンをオーバーライドし、\fIDate\fRオブジェクトで使用されます。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   303
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   304
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   305
\-tcs=\fIparameter\fR, \-\-trace\-callsites=\fIparameter\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   306
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   307
呼出しサイトのトレースのモードを有効にします。使用可能なパラメータは、次のとおりです。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   308
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   309
miss
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   310
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   311
呼出しサイトのミスをトレースします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   312
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   313
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   314
enterexit
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   315
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   316
呼出しサイトへの出入りをトレースします。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   317
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   318
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   319
objects
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   320
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   321
オブジェクトのプロパティを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   322
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   323
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   324
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   325
\-\-verify\-code
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   326
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   327
バイトコードを実行する前に検証します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   328
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   329
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   330
\-v, \-version
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   331
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   332
Nashornバージョン文字列を出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   333
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   334
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   335
\-xhelp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   336
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   337
コマンドライン・オプションの拡張ヘルプを出力します。
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   338
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   339
.SH "例"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   340
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   341
\fBExample 1\fR, Nashornを使用したスクリプトの実行
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   342
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   343
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   344
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   345
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   346
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   347
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   348
jjs script\&.js
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   349
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   350
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   351
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   352
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   353
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   354
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   355
\fBExample 2\fR, 対話型モードでのNashornの実行
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   356
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   357
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   358
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   359
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   360
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   361
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   362
>> \fBjjs\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   363
jjs> \fBprintln("Hello, World!")\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   364
Hello, World!
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   365
jjs> \fBquit()\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   366
>>
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   367
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   368
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   369
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   370
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   371
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   372
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   373
\fBExample 3\fR, Nashornへの引数の渡し
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   374
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   375
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   376
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   377
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   378
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   379
.nf
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   380
>> \fBjjs \-\- a b c\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   381
jjs> \fBarguments\&.join(", ")\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   382
a, b, c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   383
jjs>
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   384
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   385
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   386
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   387
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   388
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   389
.SH "関連項目"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   390
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   391
\fIjrunscript\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   392
.br
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   393
'pl 8.5i
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents:
diff changeset
   394
'bp