'\" t.\" Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved..\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER..\".\" This code is free software; you can redistribute it and/or modify it.\" under the terms of the GNU General Public License version 2 only, as.\" published by the Free Software Foundation..\".\" This code is distributed in the hope that it will be useful, but WITHOUT.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or.\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License.\" version 2 for more details (a copy is included in the LICENSE file that.\" accompanied this code)..\".\" You should have received a copy of the GNU General Public License version.\" 2 along with this work; if not, write to the Free Software Foundation,.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA..\".\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.\" or visit www.oracle.com if you need additional information or have any.\" questions..\".\" Title: jrunscript.\" Language: Japanese.\" Date: 2013ǯ11��21��.\" SectDesc: ������ץƥ����ġ���.\" Software: JDK 8.\" Arch: ����.\" Part Number: E58103-01.\" Doc ID: JSSON.\".if n .pl 99999.TH "jrunscript" "1" "2013ǯ11��21��" "JDK 8" "������ץƥ����ġ���".\" -----------------------------------------------------------------.\" * Define some portability stuff.\" -----------------------------------------------------------------.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.\" http://bugs.debian.org/507673.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~.ie \n(.g .ds Aq \(aq.el .ds Aq '.\" -----------------------------------------------------------------.\" * set default formatting.\" -----------------------------------------------------------------.\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.\" -----------------------------------------------------------------.\" * MAIN CONTENT STARTS HERE *.\" -----------------------------------------------------------------.SH "̾��"jrunscript \- ���÷��⡼�ɤȥХå����⡼�ɤݡ��Ȥ��륳�ޥ�ɹԥ�����ץȡ��������¹Ԥ��ޤ������Υ��ޥ�ɤϻŪ�ʤ�Τǡ����ݡ��Ȥ���Ƥ��ޤ���.SH "����".sp.if n \{\.RS 4.\}.nf\fBjrunscript\fR [\fIoptions\fR] [\fIarguments\fR].fi.if n \{\.RE.\}.PP\fIoptions\fR.RS 4���ޥ�ɹԥ��ץ�����ץ����Ȥ��Ƥ���������.RE.PP\fIarguments\fR.RS 4��������Ѥ����硢���ץ����ޤ��ϥ��ޥ��̾��ľ��˵��Ҥ��Ƥ��������������Ȥ��Ƥ���������.RE.SH "����".PP\fBjrunscript\fR���ޥ�ɤϡ�����˰�¸���ʤ����ޥ�ɹԥ�����ץȡ�������Ǥ���\fBjrunscript\fR�ϡ����÷�(read\-eval\-print)�⡼�ɤȥХå�(\fB\-f\fR���ץ����)���⡼�ɤ�ξ���Υ�����ץȼ¹Ԥݡ��Ȥ��ޤ����ǥե���Ȥλ��Ѹ����JavaScript�Ǥ�����\fB\-l\fR���ץ�������Ѥ����¾�θ�������Ǥ��ޤ���\fBjrunscript\fR���ޥ�ɤϡ�Java�ȥ�����ץȸ���Ȥ��̿�����Ѥ���õ��Ū�ʥץ�����ߥ���������ݡ��Ȥ��ޤ���.SH "���ץ����".PP\-classpath \fIpath\fR.RS 4������ץȤ�������������ɬ�פΤ��륯�饹���ե�����ξ����ޤ���.RE.PP\-cp \fIpath\fR.RS 4\fB\-classpath\fR\fIpath\fR��Ʊ���Ǥ���.RE.PP\-D\fIname\fR=\fIvalue\fR.RS 4Java�Υ����ƥࡦ�ץ��ѥƥ������ꤷ�ޤ���.RE.PP\-J\fIflag\fR.RS 4\fBflag\fR��\fBjrunscript\fR���ޥ�ɤ��¹Ԥ���Ƥ���Java���ۥޥ����ľ���Ϥ��ޤ���.RE.PP\-I \fIlanguage\fR.RS 4���ꤵ�줿������ץȸ������Ѥ��ޤ����ǥե���ȤǤ�JavaScript�����Ѥ���ޤ���¾�Υ�����ץȸ������Ѥ���ˤϡ�\fB\-cp\fR�ޤ���\fB\-classpath\fR���ץ�������Ѥ��ơ��б����륹����ץȡ������JAR�ե��������ꤹ��ɬ�פ�����ޤ���.RE.PP\-e \fIscript\fR.RS 4���ꤵ�줿������ץȤ�ɾ�����ޤ������Υ��ץ�������Ѥ���С����ޥ�ɹԤˤ��٤Ƥ����ꤵ�줿1�ԥ�����ץȤ�¹ԤǤ��ޤ���.RE.PP\-encoding \fIencoding\fR.RS 4������ץȡ��ե�������ɼ����˻��Ѥ���ʸ�������ǥ�����ꤷ�ޤ���.RE.PP\-f \fIscript\-file\fR.RS 4���ꤵ�줿������ץȡ��ե�����(�Хå����⡼��)��ɾ�����ޤ���.RE.PP\-f \-.RS 4ɸ�����Ϥ��饹����ץȤ��ɤ�ꡢ�����ɾ�����ޤ�(���÷��⡼��)��.RE.PP\-help.RS 4�إ�ס���å�������ɽ�����ƽ�λ���ޤ���.RE.PP\-?.RS 4�إ�ס���å�������ɽ�����ƽ�λ���ޤ���.RE.PP\-q.RS 4���Ѳ�ǽ�ʤ��٤ƤΥ�����ץȡ���������ɽ���������ȡ���λ���ޤ���.RE.SH "����".PParguments��¸�ߤ��Ƥ��ơ�����\fB\-e\fR��\fB\-f\fR�Τ�����Υ��ץ�������Ѥ���ʤ��ä���硢�ǽ�ΰ�����������ץȡ��ե�����Ȥʤꡢ¾�ΰ�����¸�ߤ�����ϥ�����ץȤ��Ϥ���ޤ���arguments�ȡ�\fB\-e\fR�ޤ���\fB\-f\fR���ץ�����Ѥ���Ƥ����硢���٤Ƥ�arguments��������ץȤ��Ϥ���ޤ���arguments��\fB\-e\fR��\fB\-f\fR���ɤ��¸�ߤ��ʤ��ä����ϡ����÷��⡼�ɤ����Ѥ���ޤ���������ץȤ��饹����ץȰ�������Ѥ���ˤϡ�\fBarguments\fR�Ȥ���̾����\fBString\fR���Υ����ѿ�����Ѥ��ޤ���.SH "��".SS "����饤������ץȤμ¹�".sp.if n \{\.RS 4.\}.nf\fBjrunscript \-e "print(\*(Aqhello world\*(Aq)"\fR\fBjrunscript \-e "cat(\*(Aqhttp://www\&.example\&.com\*(Aq)"\fR.fi.if n \{\.RE.\}.SS "���ꤵ�줿����λ��Ѥ���ӥ�����ץȡ��ե������ɾ��".sp.if n \{\.RS 4.\}.nf\fBjrunscript \-l js \-f test\&.js\fR.fi.if n \{\.RE.\}.SS "���÷��⡼��".sp.if n \{\.RS 4.\}.nf\fBjrunscript\fR\fBjs> print(\*(AqHello World\en\*(Aq);\fR\fBHello World\fR\fBjs> 34 + 55\fR\fB89\&.0\fR\fBjs> t = new java\&.lang\&.Thread(function() { print(\*(AqHello World\en\*(Aq); })\fR\fBThread[Thread\-0,5,main]\fR\fBjs> t\&.start()\fR\fBjs> Hello World\fR\fB \fR\fBjs>\fR.fi.if n \{\.RE.\}.SS "������ץȰ�������ꤷ��������ץȡ��ե�����μ¹�".PPtest\&.js�ե�����ϥ�����ץȡ��ե�����Ǥ���\fBarg1\fR��\fBarg2\fR�����\fBarg3\fR�γư�����������ץȤ��Ϥ���ޤ���������ץȤ�arguments�������Ѥ��Ƥ����ΰ����˥��������Ǥ��ޤ���.sp.if n \{\.RS 4.\}.nf\fBjrunscript test\&.js arg1 arg2 arg3\fR.fi.if n \{\.RE.\}.SH "��Ϣ����".PPJavaScript����Ѥ��Ƥ����硢�桼�������������ץȤ�ɾ���������ˡ�\fBjrunscript\fR���ޥ�ɤˤ�ä�������ȹ��ߴؿ�����ӥ��֥������Ȥ����������ޤ�(�����ˤĤ��Ƥϡ�����jrunscript JavaScript�ȹ��ߤ�API���ͤ˵��ܤ���Ƥ��ޤ�)��.PPhttp://docs\&.oracle\&.com/javase/7/docs/technotes/tools/share/jsdocs/overview\-summary\&.html.br'pl 8.5i'bp