< prev index next >

src/linux/doc/man/ja/javac.1

Print this page
rev 1493 : 7182226: NLS: jdk7u6 message drop20 integration
Reviewed-by: yhuang


   3 ." Copyright 2000-2006 Sun Microsystems, Inc.  All Rights Reserved.
   4 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 ."
   6 ." This code is free software; you can redistribute it and/or modify it
   7 ." under the terms of the GNU General Public License version 2 only, as
   8 ." published by the Free Software Foundation.
   9 ."
  10 ." This code is distributed in the hope that it will be useful, but WITHOUT
  11 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 ." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 ." version 2 for more details (a copy is included in the LICENSE file that
  14 ." accompanied this code).
  15 ."
  16 ." You should have received a copy of the GNU General Public License version
  17 ." 2 along with this work; if not, write to the Free Software Foundation,
  18 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 ."
  20 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 ." or visit www.oracle.com if you need additional information or have any
  22 ." questions.
  23 ."
  24 ." `
  25 .TH javac 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド"
  26 ." Generated by html2man
  27 
  28 .LP
  29 .SH 名前
  30 javac \- Java プログラミング言語コンパイラ
  31 .LP
  32 .SH "形式"
  33 .LP
  34 
  35 .LP
  36 .nf
  37 \f3
  38 .fl
  39         \fP\f3javac\fP [ options ] [ sourcefiles ] [ classes ] [ @argfiles ]
  40 .fl
  41       
  42 .fl
  43 .fi
  44 
  45 .LP


 883 .RE
 884 
 885 .LP
 886 .LP
 887 \f3\-target 1.5\fP オプションにより、1.5 VM と互換性のあるクラスファイルが生成されます。デフォルトでは、\f3javac\fP は JDK 6 用にコンパイルします。
 888 .LP
 889 .LP
 890 Java プラットフォーム JDK の \f3javac\fP は、デフォルトではそれ自身のブートストラップクラスに対してコンパイルを行うので、代わりに JDK 1.5 のブートストラップクラスに対してコンパイルを行うように \f3javac\fP を設定する必要があります。これは、\f3\-bootclasspath\fP および \f3\-extdirs\fP を使って指定します。この指定を行わないと、1.5 VM には存在しない Java プラットフォーム API に対応したコンパイルが行われるため、プログラムの実行時に失敗するでしょう。
 891 .LP
 892 .RE
 893 .SH "関連項目"
 894 .LP
 895 
 896 .LP
 897 .RS 3
 898 .TP 2
 899 o
 900 .na
 901 「\f2The javac Guide\fP」
 902 .fi
 903 (http://java.sun.com/javase/6/docs/technotes/guides/javac/index.html)
 904 .TP 2
 905 o
 906 java(1) \- Java アプリケーション起動プログラム
 907 .TP 2
 908 o
 909 jdb(1) \- Java デバッガ
 910 .TP 2
 911 o
 912 javah(1) \- C 言語のヘッダとスタブファイルのジェネレータ
 913 .TP 2
 914 o
 915 javap(1) \- Java クラスファイル逆アセンブラ
 916 .TP 2
 917 o
 918 javadoc(1) \- Java API ドキュメントジェネレータ
 919 .TP 2
 920 o
 921 jar(1) \- JAR アーカイブツール
 922 .TP 2
 923 o
 924 .na
 925 「\f2The Java Extensions Framework\fP」
 926 .fi
 927 (http://java.sun.com/javase/6/docs/technotes/guides/extensions/index.html)
 928 .RE
 929 
 930 .LP
 931 
 932 .LP
 933  


   3 ." Copyright 2000-2006 Sun Microsystems, Inc.  All Rights Reserved.
   4 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   5 ."
   6 ." This code is free software; you can redistribute it and/or modify it
   7 ." under the terms of the GNU General Public License version 2 only, as
   8 ." published by the Free Software Foundation.
   9 ."
  10 ." This code is distributed in the hope that it will be useful, but WITHOUT
  11 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12 ." FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13 ." version 2 for more details (a copy is included in the LICENSE file that
  14 ." accompanied this code).
  15 ."
  16 ." You should have received a copy of the GNU General Public License version
  17 ." 2 along with this work; if not, write to the Free Software Foundation,
  18 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19 ."
  20 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21 ." or visit www.oracle.com if you need additional information or have any
  22 ." questions.

  23 ." ` 
  24 .TH javac 1 "05 Jul 2012"
  25 ." Generated by html2man
  26 
  27 .LP
  28 .SH 名前
  29 javac \- Java プログラミング言語コンパイラ
  30 .LP
  31 .SH "形式"
  32 .LP
  33 
  34 .LP
  35 .nf
  36 \f3
  37 .fl
  38         \fP\f3javac\fP [ options ] [ sourcefiles ] [ classes ] [ @argfiles ]
  39 .fl
  40       
  41 .fl
  42 .fi
  43 
  44 .LP


 882 .RE
 883 
 884 .LP
 885 .LP
 886 \f3\-target 1.5\fP オプションにより、1.5 VM と互換性のあるクラスファイルが生成されます。デフォルトでは、\f3javac\fP は JDK 6 用にコンパイルします。
 887 .LP
 888 .LP
 889 Java プラットフォーム JDK の \f3javac\fP は、デフォルトではそれ自身のブートストラップクラスに対してコンパイルを行うので、代わりに JDK 1.5 のブートストラップクラスに対してコンパイルを行うように \f3javac\fP を設定する必要があります。これは、\f3\-bootclasspath\fP および \f3\-extdirs\fP を使って指定します。この指定を行わないと、1.5 VM には存在しない Java プラットフォーム API に対応したコンパイルが行われるため、プログラムの実行時に失敗するでしょう。
 890 .LP
 891 .RE
 892 .SH "関連項目"
 893 .LP
 894 
 895 .LP
 896 .RS 3
 897 .TP 2
 898 o
 899 .na
 900 「\f2The javac Guide\fP」
 901 .fi
 902 (+http://docs.oracle.com/javase/6/docs/technotes/guides/javac/index.html)
 903 .TP 2
 904 o
 905 java(1) \- Java アプリケーション起動プログラム
 906 .TP 2
 907 o
 908 jdb(1) \- Java デバッガ
 909 .TP 2
 910 o
 911 javah(1) \- C 言語のヘッダとスタブファイルのジェネレータ
 912 .TP 2
 913 o
 914 javap(1) \- Java クラスファイル逆アセンブラ
 915 .TP 2
 916 o
 917 javadoc(1) \- Java API ドキュメントジェネレータ
 918 .TP 2
 919 o
 920 jar(1) \- JAR アーカイブツール
 921 .TP 2
 922 o
 923 .na
 924 「\f2The Java Extensions Framework\fP」
 925 .fi
 926 (http://docs.oracle.com/javase/6/docs/technotes/guides/extensions/index.html)
 927 .RE
 928 
 929 .LP
 930 
 931 .LP
 932  
< prev index next >