preverify: The KVM Class Preverifier
Availability
CLDC Reference Implementation, MIDP Reference Implementation, Wireless Toolkit
Synopsis
preverify [options] classnames | dirnames | JARnames
Description
The class preverifier for classes to be loaded into a CLDC-conformant virtual machine, such as the KVM. All classes must be preverified before use to ensure that they are valid and do not attempt to circumvent Java programming language rules in such a way as to cause a potential security breach.
The preverify
command processes a set of input
class files and writes them to an output location, which must be
different from the input location. The set of class files to be
processed can be specified using any combination of the following:
A set of class names, in which each class is located relative to the class path given by the
-classpath
argument or via theCLASSPATH
environment variableA JAR file or ZIP file containing Java class files
A directory that is recursively searched for class files, JAR files, or ZIP files
The output from this process is written to the directory specified by
the -d
argument or to a directory called
output
if the -d
argument
is omitted. JAR or ZIP file contents are written to a JAR or ZIP file
with the same name in the output directory.
Options
- @filename
Supplies the name of a file from which command-line arguments are read. The file must contain only a single line consisting of legal program arguments, which are processed as the file is read. Directory and ...
Get J2ME in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.