jrunscript.1 revision 5176
0N/A." Copyright (c) 2006, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A."
0N/A." This code is free software; you can redistribute it and/or modify it
0N/A." under the terms of the GNU General Public License version 2 only, as
0N/A." published by the Free Software Foundation.
0N/A."
0N/A." This code is distributed in the hope that it will be useful, but WITHOUT
0N/A." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A." version 2 for more details (a copy is included in the LICENSE file that
0N/A." accompanied this code).
0N/A."
0N/A." You should have received a copy of the GNU General Public License version
0N/A." 2 along with this work; if not, write to the Free Software Foundation,
0N/A." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A."
0N/A." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0N/A." or visit www.oracle.com if you need additional information or have any
0N/A." questions.
0N/A."
0N/A.TH jrunscript 1 "05 Jul 2012"
0N/A
0N/A.LP
0N/A.SH "̾��"
0N/Ajrunscript \- ���ޥ�ɥ饤�󡦥�����ץȡ�������
0N/A.LP
0N/A.RS 3
0N/A.TP 2
0N/Ao
0N/A����
0N/A.TP 2
0N/Ao
0N/A�ѥ�᡼��
0N/A.TP 2
0N/Ao
0N/A����
0N/A.TP 2
0N/Ao
0N/A���ץ����
0N/A.TP 2
0N/Ao
0N/A���
0N/A.TP 2
0N/Ao
0N/A��
0N/A.TP 2
0N/Ao
0N/A��Ϣ����
0N/A.RE
0N/A
0N/A.LP
0N/A.SH "����"
0N/A.LP
0N/A.nf
0N/A\f3
0N/A.fl
0N/A\fP\f3jrunscript\fP [ \f2options\fP ] [ arguments... ]
0N/A.fl
0N/A.fi
0N/A
0N/A.LP
0N/A.SH "�ѥ�᡼��"
0N/A.LP
0N/A.RS 3
0N/A.TP 3
0N/Aoptions
0N/A���ץ�������Ѥ����硢���ޥ��̾��ľ��˵��Ҥ��Ƥ���������
0N/A.TP 3
0N/Aarguments
0N/A�������Ѥ����硢���ץ����ޤ��ϥ��ޥ��̾��ľ��˵��Ҥ��Ƥ���������
0N/A.RE
0N/A
0N/A.LP
0N/A.SH "����"
0N/A.LP
0N/A.LP
0N/A\f3jrunscript\fP�ϥ��ޥ�ɥ饤�󡦥�����ץȡ�������Ǥ���jrunscript�ϡ����÷�(�ɼ��\-ɾ��\-����)�⡼�ɤȥХå�(\-f���ץ����)�⡼�ɤ�ξ��Υ�����ץȼ¹Ԥ򥵥ݡ��Ȥ��ޤ�������ϥ�����ץȸ���˰�¸���ʤ�������Ǥ����ǥե���Ȥλ��Ѹ����JavaScript�Ǥ�����\-l���ץ�������Ѥ����¾�θ�������Ǥ��ޤ���jrunscript�ϡ�Java�ȥ�����ץȸ���Ȥ��̿��ˤ�äơ�õ��Ū�ʥץ?��ߥ󥰡ץ�������򥵥ݡ��Ȥ��ޤ���
0N/A.LP
0N/A.LP
0N/A\f3���:\fP ���Υġ����\f3�Ū�ʤ��\fP�Ǥ��ꡢ�����JDK�ΥС������Ǥ�����\f3�Ǥ��ʤ��ʤ�\fP��ǽ��������ޤ���
0N/A.LP
0N/A.SH "���ץ����"
0N/A.LP
0N/A.RS 3
0N/A.TP 3
0N/A\-classpath path
0N/A������ץȤ���Υ��������оݤȤʤ�桼������ .class�ե�����θ���������ꤷ�ޤ���
0N/A.TP 3
0N/A\-cp path
0N/A\-classpath\f2path\fP��Ʊ���Ǥ���
0N/A.TP 3
0N/A\-Dname=value
0N/AJava�Υ����ƥࡦ�ץ�ѥƥ������ꤷ�ޤ���
0N/A.TP 3
0N/A\-J<flag>
0N/Ajrunscript���¹Ԥ���Ƥ���Java���ۥޥ����<flag>��ľ���Ϥ��ޤ���
0N/A.TP 3
0N/A\-l language
0N/A���ꤵ�줿������ץȸ������Ѥ��ޤ����ǥե���ȤǤ�JavaScript�����Ѥ���ޤ���¾�Υ�����ץȸ������Ѥ���ˤϡ�\-cp�ޤ���\-classpath���ץ�������Ѥ��ơ��б����륹����ץȡ����󥸥��JAR�ե��������ꤹ��ɬ�פ�����ޤ���
0N/A.TP 3
0N/A\-e script
0N/A���ꤵ�줿������ץȤ�ɾ�����ޤ������Υ��ץ�������Ѥ���С����ޥ�ɥ饤��ˤ��٤Ƥ����ꤵ�줿��1�ԡץ�����ץȤ�¹ԤǤ��ޤ���
0N/A.TP 3
0N/A\-encoding encoding
0N/A������ץȡ��ե�������ɼ����˻��Ѥ���ʸ��󥳡��ǥ��󥰤���ꤷ�ޤ���
0N/A.TP 3
0N/A\-f script\-file
0N/A���ꤵ�줿������ץȡ��ե������ɾ�����ޤ�(�Хå����⡼��)��
0N/A.TP 3
0N/A\-f \-
0N/Aɸ�����Ϥ��饹����ץȤ��ɼ�ꡢ�����ɾ�����ޤ�(���÷��⡼��)��
0N/A.TP 3
0N/A\-help\
0N/A�إ�ס���å���������Ϥ��ƽ�λ���ޤ���
0N/A.TP 3
0N/A\-?\
�إ�ס���å���������Ϥ��ƽ�λ���ޤ���
.TP 3
\-q\
���Ѳ�ǽ�ʤ��٤ƤΥ�����ץȡ����󥸥�����ɽ���������ȡ���λ���ޤ���
.RE
.LP
.SH "���"
.LP
.LP
[arguments...]��¸�ߤ��Ƥ��ơ�����\f3\-e\fP��\f3\-f\fP�Τ�����Υ��ץ�������Ѥ���ʤ��ä���硢�ǽ�ΰ����������ץȡ��ե�����Ȥʤꡢ¾�ΰ����¸�ߤ�����ϥ�����ץȰ���Ȥ����Ϥ���ޤ���[arguments..]�ȡ�\f3\-e\fP�ޤ���\f3\-f\fP�����Ѥ���Ƥ����硢���٤Ƥ�[arguments..]��������ץȰ���Ȥ����Ϥ���ޤ���[arguments..]��\f3\-e\fP��\f3\-f\fP���ɤ��¸�ߤ��ʤ��ä����ϡ����÷��⡼�ɤ����Ѥ���ޤ���������ץȤ��饹����ץȰ������Ѥ���ˤϡ���arguments�פȤ���̾����String���󷿤Υ��󥸥��ѿ�����Ѥ��ޤ���
.LP
.SH "��"
.LP
.SS
����饤�󡦥�����ץȤμ¹�
.LP
.nf
\f3
.fl
jrunscript \-e "print('hello world')"
.fl
jrunscript \-e "cat('http://www.example.com')"
.fl
\fP
.fi
.LP
.SS
���ꤵ�줿����λ��Ѥ���ӻ��ꤵ�줿������ץȡ��ե������ɾ��
.LP
.nf
\f3
.fl
jrunscript \-l js \-f test.js
.fl
\fP
.fi
.LP
.SS
���÷��⡼��
.LP
.nf
\f3
.fl
jrunscript
.fl
js> print('Hello World\\n');
.fl
Hello World
.fl
js> 34 + 55
.fl
89.0
.fl
js> t = new java.lang.Thread(function() { print('Hello World\\n'); })
.fl
Thread[Thread\-0,5,main]
.fl
js> t.start()
.fl
js> Hello World
.fl
.fl
js>
.fl
\fP
.fi
.LP
.SS
������ץȰ������ꤷ��������ץȡ��ե�����μ¹�
.LP
.nf
\f3
.fl
jrunscript test.js arg1 arg2 arg3
.fl
\fP
.fi
.LP
test.js���¹��оݤȤʤ륹����ץȡ��ե�����Ǥ��ꡢarg1��arg2�����arg3�ϥ�����ץȰ���Ȥ��ƥ�����ץȤ��Ϥ���ޤ���������ץȤϡ�arguments���������Ѥ��Ƥ����˥��������Ǥ��ޤ���
.SH "��Ϣ����"
.LP
.LP
JavaScript�����Ѥ�����硢jrunscript�ϡ��ǽ�Υ桼�������������ץȤ�ɾ���������ˡ������Ĥ����ȹ��ߴؿ����ȹ��ߥ��֥������Ȥ���ޤ���������JavaScript�ȹ��ߵ�ǽ�ˤĤ��Ƥϡ�
.na
\f2jsdocs\fP @
.fi
http://docs.oracle.com/javase/7/docs/technotes/tools/share/jsdocs/allclasses\-noframe.html�򻲾Ȥ��Ƥ���������
.LP