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 main.usage=\
  73 Usage: \n\
  74 \  javah [options] <classes>\n\
  75 where [options] include:
  76 
  77 main.opt.o=\
  78 \  -o <file>                    Output file (only one of -d or -o may be used)
  79 
  80 main.opt.d=\
  81 \  -d <dir>                     Output directory
  82 
  83 main.opt.v=\
  84 \  -v  -verbose                 Enable verbose output
  85 
  86 main.opt.h=\
  87 \  -h  --help  -?               Print this message
  88 
  89 main.opt.version=\
  90 \  -version                     Print version information
  91 
  92 main.opt.jni=\
  93 \  -jni                         Generate JNI-style header file (default)
  94 
  95 main.opt.force=\
  96 \  -force                       Always write output files
  97 
  98 main.opt.module_path=\
  99 \  --module-path <path>         Path from which to load application modules
 100 
 101 main.opt.upgrade_module_path=\
 102 \  --upgrade_module-path <path> Path from which to load application modules
 103 
 104 main.opt.classpath=\
 105 \  -classpath <path>            Path from which to load classes
 106 
 107 main.opt.class_path=\
 108 \  --class-path <path>          Path from which to load classes
 109 
 110 main.opt.cp=\
 111 \  -cp <path>                   Path from which to load classes
 112 
 113 main.opt.bootclasspath=\
 114 \  -bootclasspath <path>        Path from which to load bootstrap classes
 115 
 116 main.opt.system=\
 117 \  --system <jdk>               Specify where to find system modules
 118 
 119 main.usage.foot=\n\
 120 GNU-style options may use '=' instead whitespace to separate the name of an option\n\
 121 from its value.\n\
 122 \n\
 123 Each class must be specified by its fully qualified names, optionally\n\
 124 prefixed by a module name followed by '/'. Examples:\n\
 125 \    java.lang.Object\n\
 126 \    java.base/java.io.File\n\
 127 
 128 #
 129 # Version string.
 130 #
 131 javah.version={0} version "{1}"
 132 javah.fullVersion={0} full version "{1}"
 133 
 134 #
 135 # These should have better diagnostics.
 136 #
 137 super.class.not.found=\
 138         A required super class {0} could not be found.
 139 class.not.found=\
 140         Class {0} could not be found.
 141 io.exception=\
 142         Can''t recover from an I/O error with the following message: \
 143         {0}.
 144 
 145 #
 146 # Problems in the guts of javah.
 147 #
 148 encoding.iso8859_1.not.found=\
 149         ISO8859_1 converter was not found for output.  This is \
 150         probably due to an error in the installation installation.
 151 tried.to.define.non.static=\
 152         Tried to generate #define for non-static field.
 153 jni.unknown.type=\
 154         An unknown type encountered (JNI).
 155 unknown.array.type=\
 156         An unknown array type encountered when generating old style headers.
 157 unknown.type.for.field=\
 158         An unknown type encountered when generating old style headers.
 159 unknown.type.in.method.signature=\
 160         An unknown type eccountered when generating old style stubs.
 161 
 162 
 163 err.prefix=Error:
 164 err.cant.use.option.for.fm=Can't use {0} option with given file manager
 165 err.internal.error=Internal error: {0}
 166 err.ioerror=IO error: {0}
 167 err.missing.arg=value missing for {0}
 168 err.no.classes.specified=no classes specified
 169 err.unknown.option=unknown option: {0}
 170 
 171 #
 172 # miscellaneous strings
 173 #
 174 javah.misc.Deprecation=\
 175     \nWarning:\u0020The javah tool is planned to be removed in the next major\n\
 176     JDK release. The tool has been superseded by the ''-h'' option added\n\
 177     to javac in JDK 8. Users are recommended to migrate to using the\n\
 178     javac ''-h'' option; see the javac man page for more information.\n