1 #
   2 # Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 #
  27 # User errors, command line errors.
  28 #
  29 cant.create.dir=\
  30         The directory {0} could not be create for output.
  31 at.args.cant.read=\
  32         Can''t read command line arguments from file {1}.
  33 at.args.file.not.found=\
  34         Can''t find file {0}.
  35 at.args.io.exception=\
  36         The following I/O problem was encountered when processing an @ \
  37         argument on the command line: {0}.
  38 bad.arg=\
  39         Bad argument: {0}
  40 old.jni.mixed=\
  41         Can''t mix options -jni and -old.  Try -help.
  42 old.llni.mixed=\
  43         Can''t mix options -old and -llni.  Try -help.
  44 old.not.supported=\
  45         Option -old not supported by this version of javah.
  46 invalid.method.signature=\
  47         Invalid method signature: {0}
  48 jni.llni.mixed=\
  49         Can''t mix options -jni and -llni.  Try -help.
  50 jni.no.stubs=\
  51         JNI does not require stubs, please refer to the JNI documentation.
  52 jni.sigerror=\
  53         Cannot determine signature for {0}
  54 dir.file.mixed=\
  55         Can''t mix options -d and -o.  Try -help.
  56 no.classes.specified=\
  57         No classes were specified on the command line.  Try -help.
  58 no.outputfile.specified=\
  59         No outputfile was specified on the command line.  Try -help.
  60 no.outputdir.specified=\
  61         No output directory was specified on the command line.  Try -help.
  62 no.classpath.specified=\
  63         No classpath was specified on the command line.  Try -help.
  64 no.bootclasspath.specified=\
  65         No bootclasspath was specified on the command line.  Try -help.
  66 unknown.option=\
  67         {0} is an illegal argument\n
  68 tracing.not.supported=\
  69         Warning: Tracing is no longer supported.  Instead, use\
  70         -verbose:jni option of the virtual machine.
  71 
  72 #
  73 # Usage message.
  74 #
  75 usage=\
  76 Usage: javah [options] <classes>\n\
  77 \n\
  78 where [options] include:\n\
  79 \n\t\
  80 -help                 Print this help message and exit\n\t\
  81 -classpath <path>     Path from which to load classes\n\t\
  82 -cp <path>            Path from which to load classes\n\t\
  83 -modulepath <path>    Path from which to load application modules\n\t\
  84 -system <path>        JDK directory from which to load system modules\n\t\
  85 -d <dir>              Output directory\n\t\
  86 -o <file>             Output file (only one of -d or -o may be used)\n\t\
  87 -jni                  Generate JNI-style header file (default)\n\t\
  88 -version              Print version information\n\t\
  89 -verbose              Enable verbose output\n\t\
  90 -force                Always write output files\n\
  91 \n\
  92 <classes> are specified with their fully qualified names, optionally\n\
  93 prefixed by a module name followed by '/'. Examples:\n\
  94     java.lang.Object\n\
  95     java.base/java.io.File\n\
  96 
  97 main.usage=\
  98 Usage: \n\
  99 \  javah [options] <classes>\n\
 100 where [options] include:
 101 main.opt.o=\
 102 \  -o <file>                Output file (only one of -d or -o may be used)
 103 main.opt.d=\
 104 \  -d <dir>                 Output directory
 105 main.opt.v=\
 106 \  -v  -verbose             Enable verbose output
 107 main.opt.h=\
 108 \  -h  --help  -?           Print this message
 109 main.opt.version=\
 110 \  -version                 Print version information
 111 main.opt.jni=\
 112 \  -jni                     Generate JNI-style header file (default)
 113 main.opt.force=\
 114 \  -force                   Always write output files
 115 main.opt.classpath=\
 116 \  -classpath <path>        Path from which to load classes
 117 main.opt.cp=\
 118 \  -cp <path>               Path from which to load classes
 119 main.opt.bootclasspath=\
 120 \  -bootclasspath <path>    Path from which to load bootstrap classes
 121 main.usage.foot=\
 122 <classes> are specified with their fully qualified names\n\
 123 (for example, java.lang.Object).
 124 
 125 #
 126 # Version string.
 127 #
 128 javah.version={0} version "{1}"
 129 javah.fullVersion={0} full version "{1}"
 130 
 131 #
 132 # These should have better diagnostics.
 133 #
 134 super.class.not.found=\
 135         A required super class {0} could not be found.
 136 class.not.found=\
 137         Class {0} could not be found.
 138 io.exception=\
 139         Can''t recover from an I/O error with the following message: \
 140         {0}.
 141 
 142 #
 143 # Problems in the guts of javah.
 144 #
 145 encoding.iso8859_1.not.found=\
 146         ISO8859_1 converter was not found for output.  This is \
 147         probably due to an error in the installation installation.
 148 tried.to.define.non.static=\
 149         Tried to generate #define for non-static field.
 150 jni.unknown.type=\
 151         An unknown type encountered (JNI).
 152 unknown.array.type=\
 153         An unknown array type encountered when generating old style headers.
 154 unknown.type.for.field=\
 155         An unknown type encountered when generating old style headers.
 156 unknown.type.in.method.signature=\
 157         An unknown type eccountered when generating old style stubs.
 158 
 159 
 160 err.prefix=Error:
 161 err.cant.use.option.for.fm=Can't use {0} option with given file manager
 162 err.internal.error=Internal error: {0}
 163 err.ioerror=IO error: {0}
 164 err.missing.arg=value missing for {0}
 165 err.no.classes.specified=no classes specified
 166 err.unknown.option=unknown option: {0}
 167 
 168 #
 169 # miscellaneous strings
 170 #
 171 javah.misc.Deprecation=\
 172     \nWarning:\u0020The javah tool is planned to be removed in the next major\n\
 173     JDK release. The tool has been superseded by the ''-h'' option added\n\
 174     to javac in JDK 8. Users are recommended to migrate to using the\n\
 175     javac ''-h'' option; see the javac man page for more information.\n