Linux下java/bin目錄下的命令集合

Linux下JAVA命令(1.7.0_79)css

命令html

詳解java

參數列表node

示例web

重要程度spring

資料shell

appletviewer數據庫

Java applet 瀏覽器。appletviewer 命令可在脫離萬維網瀏覽器環境的狀況下運行 applet。編程

Usage: appletviewer <options> url(s)

where <options> include:
  -debug                  Start the applet viewer in the Java debugger
  -encoding <encoding>    Specify character encoding used by HTML files
  -J<runtime flag>        Pass argument to the java interpreter

The -J option is non-standard and subject to change without notice.bootstrap

appletviewer d:\test.html
或者
appletviewer HelloApplet.java

http://lavasoft.blog.51cto.com/62575/112594

idlj

 生產映射到OMG IDL接口可使Java應用程序使用CORBA的.java文件 

com.sun.tools.corba.se.idl.InvalidArgument: No IDL file was specified.

Compiler Usage:

    java com.sun.tools.corba.se.idl.toJavaPortable.Compile [options] <idl file>

where <idl file> is the name of a file containing IDL definitions, and
[options] is any combination of the options listed below.  The options
are optional and may appear in any order; <idl file> is required and
must appear last.
 
Options:
-d <symbol>               This is equivalent to the following line in an
                          IDL file:  #define <symbol>
-emitAll                  Emit all types, including those found in #included files.
-f<side>                  Define what bindings to emit.  <side> is one of client,
                          server, all, serverTIE, allTIE.  serverTIE and allTIE
                          cause delegate model skeletons to be emitted.  If this
                          flag is not used, -fclient is assumed.
-i <include path>         By default, the current directory is scanned for
                          included files.  This option adds another directory.
-keep                     If a file to be generated already exists, do not
                          overwrite it.  By default it is overwritten.
-noWarn                   Suppress warnings.
-oldImplBase              Generate skeletons compatible with old (pre-1.4) JDK ORBs.B4
-pkgPrefix <t> <prefix>   When the type or module name <t> is encountered at
                          file scope, begin the Java package name for all files
                          generated for <t> with <prefix>.
-pkgTranslate <t> <pkg>   When the type or module name <t> in encountered, replace
                          it with <pkg> in the generated java package.  Note that
                          pkgPrefix changes are made first.  <t> must match the
                          full package name exactly.  Also, <t> must not be
                          org, org.omg, or any subpackage of org.omg.
-skeletonName <xxx%yyy>   Name the skeleton according to the pattern.
                          The defaults are:
                          %POA for the POA base class (-fserver or -fall)
                          _%ImplBase for the oldImplBase base class
                          (-oldImplBase and (-fserver or -fall)).
-td <dir>                 use <dir> for the output directory instead of
                          the current directory.
-tieName <xxx%yyy>        Name the tie according to the pattern.  The defaults are:
                          %POATie for the POA tie (-fserverTie or -fallTie)
                          %_Tie for the oldImplBase tie
                          (-oldImplBase and (-fserverTie or -fallTie)).
-v, -verbose              Verbose mode.
-version                  Display the version number and quit.

idlj -fclient My.idl
或者
idlj -fserver My.idl
或者
idlj -fclient -fserver My.idl

http://docs.oracle.com/javase/7/docs/technotes/tools/share/idlj.html

javac

javac 是java語言編程編譯器。全稱javacompilation.javac工具讀由java語言編寫的類和接口的定義,並將它們編譯成字節代碼的class文件。javac 能夠隱式編譯一些沒有在命令行中說起的源文件。用 -verbose 選項可跟蹤自動編譯

Usage: javac <options> <source files>
where possible options include:
  -g                         Generate all debugging info
  -g:none                    Generate no debugging info
  -g:{lines,vars,source}     Generate only some debugging info
  -nowarn                    Generate no warnings
  -verbose                   Output messages about what the compiler is doing
  -deprecation               Output source locations where deprecated APIs are used
  -classpath <path>          Specify where to find user class files and annotation processors
  -cp <path>                 Specify where to find user class files and annotation processors
  -sourcepath <path>         Specify where to find input source files
  -bootclasspath <path>      Override location of bootstrap class files
  -extdirs <dirs>            Override location of installed extensions
  -endorseddirs <dirs>       Override location of endorsed standards path
  -proc:{none,only}          Control whether annotation processing and/or compilation is done.
  -processor <class1>[,<class2>,<class3>...] Names of the annotation processors to run; bypasses default discovery process
  -processorpath <path>      Specify where to find annotation processors
  -d <directory>             Specify where to place generated class files
  -s <directory>             Specify where to place generated source files
  -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
  -encoding <encoding>       Specify character encoding used by source files
  -source <release>          Provide source compatibility with specified release
  -target <release>          Generate class files for specific VM version
  -version                   Version information
  -help                      Print a synopsis of standard options
  -Akey[=value]              Options to pass to annotation processors
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system
  -Werror                    Terminate compilation if warnings occur
  @<filename>                Read options and filenames from file

java -d d:\class *.java

http://baike.baidu.com/item/javac?sefr=enterbtn


http://lavasoft.blog.51cto.com/62575/112312/

javap

反彙編指定的Java字節碼文件

Usage: javap <options> <classes>
where possible options include:
  -help  --help  -?        Print this usage message
  -version                 Version information
  -v  -verbose             Print additional information
  -l                       Print line number and local variable tables
  -public                  Show only public classes and members
  -protected               Show protected/public classes and members
  -package                 Show package/protected/public classes
                           and members (default)
  -p  -private             Show all classes and members
  -c                       Disassemble the code
  -s                       Print internal type signatures
  -sysinfo                 Show system info (path, size, date, MD5 hash)
                           of class being processed
  -constants               Show static final constants
  -classpath <path>        Specify where to find user class files
  -bootclasspath <path>    Override location of bootstrap class files

javap Person(Person爲字節碼文件)
或者
javap -public Person
或者
javap -public -l Person

http://www.365mini.com/page/javap-disassemble-class-file-code.htm

jconsole

內置 Java 性能分析器,能夠從命令行或在 GUI shell 中運行。您能夠輕鬆地使用 JConsole(或者,它更高端的 「近親」 VisualVM )來監控 Java 應用程序性能和跟蹤 Java 中的代碼

 

jconsle
配置須要鏈接的IP和端口

http://jiajun.iteye.com/blog/810150

jinfo

輸出JAVA系統參數及命令行參數

Usage:
    jinfo [option] <pid>
        (to connect to running process)
    jinfo [option] <executable <core>
        (to connect to a core file)
    jinfo [option] [server_id@]<remote server IP or hostname>
        (to connect to remote debug server)

where <option> is one of:
    -flag <name>         to print the value of the named VM flag
    -flag [+|-]<name>    to enable or disable the named VM flag
    -flag <name>=<value> to set the named VM flag to the given value
    -flags               to print VM flags
    -sysprops            to print Java system properties
    <no option>          to print both of the above
    -h | -help           to print this help message

jinfo pid
或者
jinfo -flag MaxPermSize 2176

http://www.softown.cn/post/182.html

jps

顯示Java進程的狀態信息

usage: jps [-help]
       jps [-q] [-mlvV] [<hostid>]

Definitions:
    <hostid>:      <hostname>[:<port>]

jps
或者
jps -v

http://www.softown.cn/post/184.html

jstat

Java虛擬機的統計監測工具,主要用於顯示JVM的性能統計性能

Usage: jstat -help|-options
       jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]

Definitions:
  <option>      An option reported by the -options option
  <vmid>        Virtual Machine Identifier. A vmid takes the following form:
                     <lvmid>[@<hostname>[:<port>]]
                Where <lvmid> is the local vm identifier for the target
                Java virtual machine, typically a process id; <hostname> is
                the name of the host running the target Java virtual machine;
                and <port> is the port number for the rmiregistry on the
                target host. See the jvmstat documentation for a more complete
                description of the Virtual Machine Identifier.
  <lines>       Number of samples between header lines.
  <interval>    Sampling interval. The following forms are allowed:
                    <n>["ms"|"s"]
                Where <n> is an integer and the suffix specifies the units as
                milliseconds("ms") or seconds("s"). The default units are "ms".
  <count>       Number of samples to take before terminating.
  -J<flag>      Pass <flag> directly to the runtime system.

jstat -gcoldcapacity -t 2176 250 3
或者
jstat -gcutil 40496@remote.domain 1000

http://www.softown.cn/post/187.html

native2ascii

文件轉碼工具,是將特殊各異的內容 轉爲 用指定的編碼標準文體形式統一的表現出來

SYNOPSIS
       native2ascii [options] [inputfile [outputfile]]

DESCRIPTION
       native2ascii converts files that are encoded to any character encoding that is supported by the Java runtime environment  to
       files  encoded in ASCII, using Unicode escapes ("\uxxxx" notation) for all characters that are not part of the ASCII charac-
       ter set. This process is required for properties files containing characters not in ISO-8859-1 character sets. The tool  can
       also perform the reverse conversion.

       If  outputfile is omitted, standard output is used for output. If, in addition, inputfile is omitted, standard input is used
       for input.

OPTIONS
          -reverse
             Perform the reverse operation: Convert a file encoded in ISO-8859-1 with Unicode escapes to a file  in  any  character
             encoding supported by the Java runtime environment.

          -encoding encoding_name
             Specifies  the  name  of the character encoding to be used by the conversion procedure. If this option is not present,
             the default character encoding (as determined by the  java.nio.charset.Charset.defaultCharset  method)  is  used.  The
             encoding_name  string must be the name of a character encoding that is supported by the Java runtime environment - see
             the Supported Encodings @
             http://docs.oracle.com/javase/7/docs/technotes/guides/intl/encoding.doc.html document.

          -Joption
             Pass option to the Java virtual machine, where option is one of the options described on the reference page for the
             java(1). For example, -J-Xms48m sets the startup memory to 48 megabytes.

native2ascii -encoding GBK D:\src\resources.properties D:\classes\resources.properties
或者
native2ascii -reverse allMessages_zh_CN.properties allMessages_zh_CN.txt

http://blog.csdn.net/flm_0722/article/details/5159988

rmic

java rmi編譯器
爲遠程對象生成 stub 和 skeleton

Usage: rmic <options> <class names>

where <options> includes:
  -keep          Do not delete intermediate generated source files
  -keepgenerated (same as "-keep")
  -v1.1          Create stubs/skeletons for 1.1 stub protocol version
  -vcompat       Create stubs/skeletons compatible with both
                           1.1 and 1.2 stub protocol versions
  -v1.2          (default) Create stubs for 1.2 stub protocol version only
  -iiop          Create stubs for IIOP. When present, <options> also includes:

                   -always           Create stubs even when they appear current
                   -alwaysgenerate   (same as "-always")
                   -nolocalstubs     Do not create stubs optimized for same process

  -idl           Create IDL. When present, <options> also includes:

                   -noValueMethods   Do not generate methods for valuetypes
                   -always           Create IDL even when it appears current
                   -alwaysgenerate   (same as "-always")

  -g             Generate debugging info
  -nowarn        Generate no warnings
  -nowrite       Do not write compiled classes to the file system
  -verbose       Output messages about what the compiler is doing
  -classpath <path>      Specify where to find input class files
  -bootclasspath <path>  Override location of bootstrap class files
  -extdirs <path>        Override location of installed extensions
  -d <directory>         Specify where to place generated class files
  -J<runtime flag>       Pass argument to the java interpreter

 rmic -d C:\java\classes foo.MyClass

http://docs.oracle.com/javase/7/docs/technotes/tools/windows/rmic.html
http://blog.sina.com.cn/s/blog_553a9295010005n3.html

serialver

查看java序列化類的ID

use: serialver [-classpath classpath] [-show] [classname...]

serialver -show
或者
serialver Test(類名)

http://blog.csdn.net/itfootball/article/details/38458221

wsgen

根據實現了@WebService註釋的類生成全部用於發佈Web Service所依賴的源代碼文件和通過編譯過的二進制類文件

Missing SEI


Usage: WSGEN [options] <SEI>

where [options] include:
  -classpath <path>          specify where to find input class files
  -cp <path>                 same as -classpath <path>
  -d <directory>             specify where to place generated output files
  -extension                 allow vendor extensions - functionality not specified
                             by the specification.  Use of extensions may
                             result in applications that are not portable or
                             may not interoperate with other implementations
  -help                      display help
  -keep                      keep generated files
  -r <directory>             resource destination directory, specify where to
                             place resouce files such as WSDLs
  -s <directory>             specify where to place generated source files
  -verbose                   output messages about what the compiler is doing
  -version                   print version information
  -wsdl[:protocol]           generate a WSDL file. The protocol is optional.
                             Valid protocols are [soap1.1, Xsoap1.2],
                             the default is soap1.1.
                             The non stanadard protocols [Xsoap1.2]
                             can only be used in conjunction with the
                             -extension option.
  -inlineSchemas             inline schemas in the generated wsdl. Must be
                             used in conjunction with the -wsdl option.
  -servicename <name>        specify the Service name to use in the generated WSDL
                             Used in conjunction with the -wsdl option.
  -portname <name>           specify the Port name to use in the generated WSDL
                             Used in conjunction with the -wsdl option.

Examples:
  wsgen -cp . example.Stock
  wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService

wsgen -cp . example.Stock
或者
wsgen -cp . example.Stock -wsdl -servicename {http://mynamespace}MyService

http://liuna718-163-com.iteye.com/blog/1669058
http://michael-paul.iteye.com/blog/899656

apt

處理註釋的工具,它對源代碼文件進行檢測找出其中的Annotation,使用Annotation進行額外的處理

warning: The apt tool and its associated API are planned to be
removed in the next major JDK release.  These features have been
superseded by javac and the standardized annotation processing API,
javax.annotation.processing and javax.lang.model.  Users are
recommended to migrate to the annotation processing features of
javac; see the javac man page for more information.
Usage: apt <apt and javac options> <source files>
where apt options include:
  -classpath <path>          Specify where to find user class files and annotation processor factories
  -cp <path>                 Specify where to find user class files and annotation processor factories
  -d <path>                  Specify where to place processor and javac generated class files
  -s <path>                  Specify where to place processor generated source files
  -source <release>          Provide source compatibility with specified release
  -version                   Version information
  -help                      Print a synopsis of standard options; use javac -help for more options
  -X                         Print a synopsis of nonstandard options
  -J<flag>                   Pass <flag> directly to the runtime system
  -A[key[=value]]            Options to pass to annotation processors
  -nocompile                 Do not compile source files to class files
  -print                     Print out textual representation of specified types
  -factorypath <path>        Specify where to find annotation processor factories
  -factory <class>           Name of AnnotationProcessorFactory to use; bypasses default discovery process
See javac -help for information on javac options.

apt -factory HibernateAnnotationFactory Person.java

http://www.javacui.com/Theory/367.html

jar

將寫好的JAVA程序打包,或者解壓程序包

Usage: jar {ctxui}[vfmn0PMe] [jar-file] [manifest-file] [entry-point] [-C dir] files ...
Options:
    -c  create new archive
    -t  list table of contents for archive
    -x  extract named (or all) files from archive
    -u  update existing archive
    -v  generate verbose output on standard output
    -f  specify archive file name
    -m  include manifest information from specified manifest file
    -e  specify application entry point for stand-alone application
        bundled into an executable jar file
    -0  store only; use no ZIP compression
    -P  preserve leading '/' (absolute path) and ".." (parent directory) components from file names
    -M  do not create a manifest file for the entries
    -i  generate index information for the specified jar files
    -C  change to the specified directory and include the following file
If any file is a directory then it is processed recursively.
The manifest file name, the archive file name and the entry point name are
specified in the same order as the 'm', 'f' and 'e' flags.

Example 1: to archive two class files into an archive called classes.jar:
       jar cvf classes.jar Foo.class Bar.class
Example 2: use an existing manifest file 'mymanifest' and archive all the
           files in the foo/ directory into 'classes.jar':
       jar cvfm classes.jar mymanifest -C foo/ .

 jar cf hello.jar hello
或者
jar cvf classes.jar Foo.class Bar.class
或者
 jar cvfm classes.jar mymanifest -C foo/ .

http://blog.csdn.net/dingxingmei/article/details/39290151

javadoc

從程序源代碼中抽取類、方法、成員等註釋造成一個和源代碼配套的API幫助文檔

javadoc: error - No packages or classes specified.
usage: javadoc [options] [packagenames] [sourcefiles] [@files]
-overview <file>          Read overview documentation from HTML file
-public                   Show only public classes and members
-protected                Show protected/public classes and members (default)
-package                  Show package/protected/public classes and members
-private                  Show all classes and members
-help                     Display command line options and exit
-doclet <class>           Generate output via alternate doclet
-docletpath <path>        Specify where to find doclet class files
-sourcepath <pathlist>    Specify where to find source files
-classpath <pathlist>     Specify where to find user class files
-exclude <pkglist>        Specify a list of packages to exclude
-subpackages <subpkglist> Specify subpackages to recursively load
-breakiterator            Compute 1st sentence with BreakIterator
-bootclasspath <pathlist> Override location of class files loaded
     by the bootstrap class loader
-source <release>         Provide source compatibility with specified release
-extdirs <dirlist>        Override location of installed extensions
-verbose                  Output messages about what Javadoc is doing
-locale <name>            Locale to be used, e.g. en_US or en_US_WIN
-encoding <name>          Source file encoding name
-quiet                    Do not display status messages
-J<flag>                  Pass <flag> directly to the runtime system
-X                        Print a synopsis of nonstandard options

Provided by Standard doclet:
-d <directory>                    Destination directory for output files
-use                              Create class and package usage pages
-version                          Include @version paragraphs
-author                           Include @author paragraphs
-docfilessubdirs                  Recursively copy doc-file subdirectories
-splitindex                       Split index into one file per letter
-windowtitle <text>               Browser window title for the documenation
-doctitle <html-code>             Include title for the overview page
-header <html-code>               Include header text for each page
-footer <html-code>               Include footer text for each page
-top    <html-code>               Include top text for each page
-bottom <html-code>               Include bottom text for each page
-link <url>                       Create links to javadoc output at <url>
-linkoffline <url> <url2>         Link to docs at <url> using package list at <url2>
-excludedocfilessubdir <name1>:.. Exclude any doc-files subdirectories with given name.
-group <name> <p1>:<p2>..         Group specified packages together in overview page
-nocomment                        Supress description and tags, generate only declarations.
-nodeprecated                     Do not include @deprecated information
-noqualifier <name1>:<name2>:...  Exclude the list of qualifiers from the output.
-nosince                          Do not include @since information
-notimestamp                      Do not include hidden time stamp
-nodeprecatedlist                 Do not generate deprecated list
-notree                           Do not generate class hierarchy
-noindex                          Do not generate index
-nohelp                           Do not generate help link
-nonavbar                         Do not generate navigation bar
-serialwarn                       Generate warning about @serial tag
-tag <name>:<locations>:<header>  Specify single argument custom tags
-taglet                           The fully qualified name of Taglet to register
-tagletpath                       The path to Taglets
-Xdocrootparent <url>             Replaces all appearances of @docRoot followed by /.. in doc comments with <url>
-charset <charset>                Charset for cross-platform viewing of generated documentation.
-helpfile <file>                  Include file that help link links to
-linksource                       Generate source in HTML
-sourcetab <tab length>           Specify the number of spaces each tab takes up in the source
-keywords                         Include HTML meta tags with package, class and member info
-stylesheetfile <path>            File to change style of the generated documentation
-docencoding <name>               Output encoding name
1 error

javadoc fancy\Test.java fancy\Editor.java fancy\editor\ECommand.java fancy\editor\EDocument.java fancy\editor\EView.java


javadoc -d 文檔存放目錄 -author -version 源文件名.java

http://baike.baidu.com/item/javadoc?sefr=enterbtn

http://jingyan.baidu.com/article/597a0643485c11312b5243c7.html

jcontrol

遠程調試

usage: ControlPanel [ (-u scheme | -r scheme) -c cpath -j jrepath ]

jcontrol
Linux GUI的界面下

http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/jcp/jcp.html

http://blog.csdn.net/uestc_lxp/article/details/44983835

jmap

輸出全部內存中對象的工具,甚至能夠將VM 中的heap,以二進制輸出成文本。打印出某個Java進程(使用pid)內存內的,全部‘對象’的狀況

Usage:
    jmap [option] <pid>
        (to connect to running process)
    jmap [option] <executable <core>
        (to connect to a core file)
    jmap [option] [server_id@]<remote server IP or hostname>
        (to connect to remote debug server)

where <option> is one of:
    <none>               to print same info as Solaris pmap
    -heap                to print java heap summary
    -histo[:live]        to print histogram of java object heap; if the "live"
                         suboption is specified, only count live objects
    -permstat            to print permanent generation statistics
    -finalizerinfo       to print information on objects awaiting finalization
    -dump:<dump-options> to dump java heap in hprof binary format
                         dump-options:
                           live         dump only live objects; if not specified,
                                        all objects in the heap are dumped.
                           format=b     binary format
                           file=<file>  dump heap to <file>
                         Example: jmap -dump:live,format=b,file=heap.bin <pid>
    -F                   force. Use with -dump:<dump-options> <pid> or -histo
                         to force a heap dump or histogram when <pid> does not
                         respond. The "live" suboption is not supported
                         in this mode.
    -h | -help           to print this help message
    -J<flag>             to pass <flag> directly to the runtime system

jmap  2176
或者
jmap -J-d64 -heap 2176
或者
jmap -histo 2176

http://developer.51cto.com/art/201203/321422.htm

http://blog.csdn.net/zhaozheng7758/article/details/8623530

jrunscript

命令行腳本外殼。jrunscript支持交互模式(read-eval-print)和批處理模式(-f選項)的腳本執行。這是一個腳本語言的獨立外殼。默認狀況下,使用JavaScript,可是咱們可使用-l選項來指定不一樣的語言。經過Java與腳本語言的通信

Usage: jrunscript [options] [arguments...]

where [options] include:
  -classpath <path>    Specify where to find user class files
  -cp <path>           Specify where to find user class files
  -D<name>=<value>     Set a system property
  -J<flag>             Pass <flag> directly to the runtime system
  -l <language>        Use specified scripting language
  -e <script>          Evaluate given script
  -encoding <encoding> Specify character encoding used by script files
  -f <script file>     Evaluate given script file
  -f -                 Interactive mode, read script from standard input
                       If this is used, this should be the last -f option
  -help                Print this usage message and exit
  -?                   Print this usage message and exit
  -q                   List all scripting engines available and exit
 
If [arguments..] are present and if no -e or -f option is used, then first
argument is script file and the rest of the arguments, if any, are passed
as script arguments. If [arguments..] and -e or -f option is used, then all
[arguments..] are passed as script arguments. If [arguments..], -e, -f are
missing, then interactive mode is used.

jrunscript
或者
jrunscript -e "println('hello world')"

http://www.javacui.com/Theory/374.html

jstatd

基於RMI(Remove Method Invocation)的服務程序,它用於監控基於HotSpot的JVM中資源的建立及銷燬,而且提供了一個遠程接口容許遠程的監控工具鏈接到本地的JVM執行命令

usage: jstatd [-nr] [-p port] [-n rminame]

jstatd -J-Djava.security.policy=jstatd.all.policy 
或者
jstatd -J-Djava.security.policy=all.policy -nr 

http://blog.csdn.net/fenglibing/article/details/17323515

orbd

用來使客戶可以透明地查找和調用持久對象在服務器上應用環境

 

orbd

http://www.cnblogs.com/java-pan/archive/2012/07/08/corba.html

rmid

可執行程序,用於啓動系統激活進程,以便可以在 Java 虛擬機上註冊和激活對象。 rmid的出現是爲了解決分佈式處理的性能問題

rmid: illegal option: --help
Usage: rmid <options>

where <options> include:
  -port <port>        Specify port for rmid to use
  -log <directory>    Specify directory in which rmid writes log
  -stop               Stop current invocation of rmid (for specified port)
  -C<runtime flag>    Pass argument to each child process (activation group)
  -J<runtime flag>    Pass argument to the java interpreter

rmid -J-Djava.security.policy=%LOCATION%/test.policy -port 1099

http://blog.csdn.net/dongtg/article/details/1752723

http://docs.oracle.com/javase/8/docs/technotes/tools/windows/rmid.html

servertool

 

 

servertool

http://docs.oracle.com/javase/1.5.0/docs/guide/idl/servertool.html

wsimport

依據wsdl文件生成相應的類文件,而後用這些類文件,就能夠像調用本地的類同樣調用WebService提供的方

Usage: wsimport [options] <WSDL_URI>

where [options] include:
  -b <path>                 specify jaxws/jaxb binding files or additional schemas
                            (Each <path> must have its own -b)
  -B<jaxbOption>            Pass this option to JAXB schema compiler
  -catalog <file>           specify catalog file to resolve external entity references
                            supports TR9401, XCatalog, and OASIS XML Catalog format.
  -d <directory>            specify where to place generated output files
  -extension                allow vendor extensions - functionality not specified
                            by the specification.  Use of extensions may
                            result in applications that are not portable or
                            may not interoperate with other implementations
  -help                     display help
  -httpproxy:<host>:<port>  specify a HTTP proxy server (port defaults to 8080)
  -keep                     keep generated files
  -p <pkg>                  specifies the target package
  -quiet                    suppress wsimport output
  -s <directory>            specify where to place generated source files
  -target <version>         generate code as per the given JAXWS spec version
                            Defaults to 2.2, Accepted values are 2.0, 2.1 and 2.2
                            e.g. 2.0 will generate compliant code for JAXWS 2.0 spec
  -verbose                  output messages about what the compiler is doing
  -version                  print version information
  -wsdllocation <location>  @WebServiceClient.wsdlLocation value
  -clientjar <jarfile>      Creates the jar file of the generated artifacts along with the
                            WSDL metadata required for invoking the web service.

Extensions:
  -XadditionalHeaders              map headers not bound to request or response message to
                                   Java method parameters
  -Xauthfile                       file to carry authorization information in the format
                                   http://username:password@example.org/stock?wsdl
  -Xdebug                          print debug information
  -Xno-addressing-databinding      enable binding of W3C EndpointReferenceType to Java
  -Xnocompile                      do not compile generated Java files
  -XdisableSSLHostnameVerification disable the SSL Hostname verification while fetching
                                   wsdls

Examples:
  wsimport stock.wsdl -b stock.xml -b stock.xjb
  wsimport -d generated http://example.org/stock?wsdl

wsimport stock.wsdl -b stock.xml -b stock.xjb
或者
wsimport -d generated http://example.org/stock?wsdl

http://www.cnblogs.com/ywjy/p/5196064.html
或者
http://blog.csdn.net/chow__zh/article/details/8237684

jarsigner

用證書文件對未簽名的APK文件進行簽名

Usage: jarsigner [options] jar-file alias
       jarsigner -verify [options] jar-file [alias...]

[-keystore <url>]           keystore location

[-storepass <password>]     password for keystore integrity

[-storetype <type>]         keystore type

[-keypass <password>]       password for private key (if different)

[-certchain <file>]         name of alternative certchain file

[-sigfile <file>]           name of .SF/.DSA file

[-signedjar <file>]         name of signed JAR file

[-digestalg <algorithm>]    name of digest algorithm

[-sigalg <algorithm>]       name of signature algorithm

[-verify]                   verify a signed JAR file

[-verbose[:suboptions]]     verbose output when signing/verifying.
                            suboptions can be all, grouped or summary

[-certs]                    display certificates when verbose and verifying

[-tsa <url>]                location of the Timestamping Authority

[-tsacert <alias>]          public key certificate for Timestamping Authority

[-altsigner <class>]        class name of an alternative signing mechanism

[-altsignerpath <pathlist>] location of an alternative signing mechanism

[-internalsf]               include the .SF file inside the signature block

[-sectionsonly]             don't compute hash of entire manifest

[-protected]                keystore has protected authentication path

[-providerName <name>]      provider name

[-providerClass <class>     name of cryptographic service provider's
  [-providerArg <arg>]] ... master class file and constructor argument

[-strict]                   treat warnings as errors

jarsigner [選項] jar 文件別名
或者
jarsigner -verify [選項] jar 文件

http://blog.csdn.net/ygc87/article/details/7621037

javafxpackager

javafx提供的打包工具

Usage: javafxpackager -command [-options]

where command is one of:
  -createjar
          The packager produces jar archive according to other parameters.
  -deploy
          The packager generates the jnlp and html files according to other
          parameters.
  -createbss
          Converts css file into binary form
  -signJar
          Signs jar file(s) with a provided certificate.
  -makeall
          Performs compilation, createjar and deploy steps as one call with
          most arguments predefined. The sources must be located in "src"
          folder, the resulting files (jar, jnlp, html) are put in "dist"
          folder. This command may be configured only in a minimal way and is
          as automated as possible.

Options for createjar command include:
  -appclass <application class>
          qualified name of the application class to be executed.
  -preloader <preloader class>
          qualified name of the preloader class to be executed.
  -paramfile <file>
          properties file with default named application parameters.
  -argument arg
          An unnamed argument to be put in <fx:argument> element in the JNLP
          file.
  -classpath <files>
          list of dependent jar file names.
  -manifestAttrs <manifest attributes>
          List of additional manifest attributes. Syntax: "name1=value1,
          name2=value2,name3=value3.
  -noembedlauncher
          If present, the packager will not add the JavaFX launcher classes
          to the jarfile.
  -nocss2bin
          The packager won't convert CSS files to binary form before copying
          to jar.
  -runtimeversion <version>
          version of the required JavaFX Runtime.
  -outdir <dir>
          name of the directory to generate output file to.
  -outfile <filename>
          The name (without the extension) of the resulting file.
  -srcdir <dir>
          Base dir of the files to pack.
  -srcfiles <files>
          List of files in srcdir. If omitted, all files in srcdir (which
          is a mandatory argument in this case) will be packed.

Options for deploy command include:
  -title <title>
          title of the application.
  -vendor <vendor>
          vendor of the application.
  -description <description>
          description of the application.
  -appclass <application class>
          qualified name of the application class to be executed.
  -preloader <preloader class>
          qualified name of the preloader class to be executed.
  -paramfile <file>
          properties file with default named application parameters.
  -htmlparamfile <file>
          properties file with parameters for the resulting applet.
  -width <width>
          width of the application.
  -height <height>
          height of the application.
  -native <type>
          generate self-contained application bundles (if possible).
          If type is specified then only bundle of this type is created.
          List of supported types includes: installer, image, exe, msi, dmg, rpm, deb.
  -name <name>
          name of the application.
  -embedjnlp
          If present, the jnlp file will be embedded in the html document.
  -embedCertificates
          If present, the certificates will be embedded in the jnlp file.
  -allpermissions
          If present, the application will require all security permissions
          in the jnlp file.
  -updatemode <updatemode>
          sets the update mode for the jnlp file.
  -isExtension
          if present, the srcfiles are treated as extensions.
  -callbacks
          specifies user callback methods in generated HTML. The format is
          "name1:value1,name2:value2,..."
  -templateInFilename
          name of the html template file. Placeholders are in form of
          #XXXX.YYYY(APPID)#
  -templateOutFilename
          name of the html file to write the filled-in template to.
  -templateId
          Application ID of the application for template processing.
  -argument arg
          An unnamed argument to be put in <fx:argument> element in the JNLP
          file.
  -outdir <dir>
          name of the directory to generate output file to.
  -outfile <filename>
          The name (without the extension) of the resulting file.
  -srcdir <dir>
          Base dir of the files to pack.
  -srcfiles <files>
          List of files in srcdir. If omitted, all files in srcdir (which
          is a mandatory argument in this case) will be used.

Options for createbss command include:
  -outdir <dir>
          name of the directory to generate output file to.
  -srcdir <dir>
          Base dir of the files to pack.
  -srcfiles <files>
          List of files in srcdir. If omitted, all files in srcdir (which
          is a mandatory argument in this case) will be used.

Options for signJar command include:
  -keyStore <file>
          Keystore filename.
  -alias
          Alias for the key.
  -storePass
          Password to check integrity of the keystore or unlock the keystore.
  -keyPass
          Password for recovering the key.
  -storeType
          Keystore type, the default value is "jks".
  -outdir <dir>
          name of the directory to generate output file(s) to.
  -srcdir <dir>
          Base dir of the files to signed.
  -srcfiles <files>
          List of files in srcdir. If omitted, all files in srcdir (which
          is a mandatory argument in this case) will be signed.

Options for makeAll command include:
  -appclass <application class>
          qualified name of the application class to be executed.
  -preloader <preloader class>
          qualified name of the preloader class to be executed.
  -classpath <files>
          list of dependent jar file names.
  -name <name>
          name of the application.
  -width <width>
          width of the application.
  -height <height>
          height of the application.
  -v      enable verbose output.

Sample usages:
--------------
javafxpackager -createjar -appclass package.ClassName 
  -srcdir classes -outdir out -outfile outjar -v
          Packages the content of the classes directory to outjar.jar,
          sets the application class to package.ClassName.
javafxpackager -deploy -outdir outdir -outfile outfile -width 34 -height 43
  -name AppName -appclass package.ClassName -v -srcdir compiled
          Generates outfile.jnlp and corresponding outfile.html files in
          outdir for aplication AppName that is started by package.ClassName
          class and has dimensions of 34x43.
javafxpackager -makeall -appclass brickbreaker.Main -name BrickBreaker
  -width 600 -height 600
          This command does all the packaging work including compilation:
          compile, createjar, deploy.

javafxpackager -deploy -appclass Test -native image -srcdir archive -outdir deploy -outfile Test

http://www.th7.cn/Program/java/201602/761531.shtml

http://www.codeweblog.com/javafx%E6%89%93%E5%8C%85%E5%B7%A5%E5%85%B7-javafxpackager/

javaws

Java Web Start的簡寫。Java Web Start 是一個Java軟件,主要用於管理Java應用程序,例如在線下載、安裝、運行、更新

Java(TM) Web Start 10.79.2.15-fcs
Usage: javaws [run-options] <jnlp-file>
       javaws [control-options]

where run-options include:
  -verbose        display additional output
  -offline        run the application in offline mode
  -system         run the application from the system cache only
  -Xnosplash      run without showing a splash screen
  -J<option>      supply option to the vm
  -wait           start java process and wait for its exit

control-options include:
  -viewer         show the cache viewer in the java control panel
  -clearcache     remove all non-installed applications from the cache
  -uninstall      remove all applications from the cache
  -uninstall <jnlp-file>               remove the application from the cache
  -import [import-options] <jnlp-file> import the application to the cache

import-options include:
  -silent         import silently (with no user interface)
  -system         import application into the system cache
  -codebase <url> retrieve resources from the given codebase
  -shortcut       install shortcuts as if user allowed prompt
  -association    install associations as if user allowed prompt

javaws 應用程序jnlp文件的URL

http://www.softown.cn/post/177.html

jdb

基於文本和命令行的調試工具

invalid option: --help

Usage: jdb <options> <class> <arguments>

where options include:
    -help             print out this message and exit
    -sourcepath <directories separated by ":">
                      directories in which to look for source files
    -attach <address>
                      attach to a running VM at the specified address using standard connector
    -listen <address>
                      wait for a running VM to connect at the specified address using standard connector
    -listenany
                      wait for a running VM to connect at any available address using standard connector
    -launch
                      launch VM immediately instead of waiting for 'run' command
    -listconnectors   list the connectors available in this VM
    -connect <connector-name>:<name1>=<value1>,...
                      connect to target VM using named connector with listed argument values
    -dbgtrace [flags] print info for debugging jdb
    -tclient          run the application in the HotSpot(TM) Client Compiler
    -tserver          run the application in the HotSpot(TM) Server Compiler

options forwarded to debuggee process:
    -v -verbose[:class|gc|jni]
                      turn on verbose mode
    -D<name>=<value>  set a system property
    -classpath <directories separated by ":">
                      list directories in which to look for classes
    -X<option>        non-standard target VM option

<class> is the name of the class to begin debugging
<arguments> are the arguments passed to the main() method of <class>

For command help type 'help' at jdb prompt

jdb

http://blog.csdn.net/arkblue/article/details/39718947

jmc

圖形界面監控工具

 

jmc

http://www.mspring.org/article/1229

http://blog.csdn.net/simonchi/article/details/52922887

jsadebugd

服務能力代理調試程序
鏈接到一個 Java 進程或一個核心文件,並充當一個調試服務器

Usage: jsadebugd [options] <pid> [server-id]
  (to connect to a live java process)
   or  jsadebugd [options] <executable> <core> [server-id]
  (to connect to a core file produced by <executable>)
  server-id is an optional unique id for this debug server, needed
  if multiple debug servers are run on the same machine
where options include:
   -h | -help to print this help message

jsadebugd 2176(pid)

https://www.ibm.com/developerworks/cn/java/j-java6perfmon/index.html

jvisualvm

監控java運行程序的cpu、內存、線程等的使用狀況。而且使用圖表的方式監控java程序、還具備遠程監控能力

Usage: /opt/jdk/lib/visualvm/platform/lib/nbexec {options} arguments

General options:
  --help                show this help
  --jdkhome <path>      path to Java(TM) 2 SDK, Standard Edition
  -J<jvm_option>        pass <jvm_option> to JVM

  --cp:p <classpath>    prepend <classpath> to classpath
  --cp:a <classpath>    append <classpath> to classpath
/opt/jdk/lib/visualvm/platform/lib/nbexec: WARNING: environment variable DISPLAY is not set
netbeans.user points to a non-existent directory.
Module reload options:
  --reload /path/to/module.jar  install or reinstall a module JAR file

Additional module options:
  --openid <arg>            open application with id <arg>
  --openpid <arg>           open application with process id <arg>
  --openfile <arg>          open file specified by <arg>, file can be Application snapshot, NetBeans Profiler snapshot or HPROF heap dump.
  --openjmx <arg>           open application specified by JMX connection (host:port)
  --modules                
  --refresh                 Refresh all catalogs
  --list                    Prints the list of all modules, their versions and enablement status
  --install <arg1>...<argN> Installs provided JAR files as modules
  --disable <arg1>...<argN> Disable modules for specified codebase names
  --enable <arg1>...<argN>  Enable modules for specified codebase names
  --update <arg1>...<argN>  Updates all or specified modules
  --update-all              Updates all modules
  --extra-uc <arg>          Add a extra Update Center (URL)

Core options:
  --laf <LaF classname> use given LookAndFeel class instead of the default
  --fontsize <size>     set the base font size of the user interface, in points
  --locale <language[:country[:variant]]> use specified locale
  --userdir <path>      use specified directory to store user settings
  --cachedir <path>     use specified directory to store user cache, must be different from userdir
  --nosplash            do not show the splash screen

jvisualvm

http://zhouanya.blog.51cto.com/4944792/1370017/

pack200

能對普通的jar文件進行高效壓縮

Usage:  pack200 [-opt... | --option=value]... x.pack[.gz] y.jar
(For more information, run pack200 --help .)

pack200

http://blog.sina.com.cn/s/blog_48a45b9501015ci6.html

rmiregistry

Java 遠程對象註冊表,用於在當前主機的指定端口上建立並啓動一個遠程對象註冊表。

port argument, --help, is not a number.
Usage: rmiregistry <options> <port>

where <options> includes:
  -J<runtime flag> Pass argument to the java interpreter

rmiregistry

http://docs.oracle.com/javase/8/docs/technotes/tools/windows/rmiregistry.html

http://blog.csdn.net/a19881029/article/details/9465663

tnameserv

Java IDL瞬時命名服務

 

tnameserv -ORBInitialPort 3388

 

xjc

主要用於根據XML schema文件生成對應的Java類。

grammar is not specified

Usage: xjc [-options ...] <schema file/URL/dir/jar> ... [-b <bindinfo>] ...
If dir is specified, all schema files in it will be compiled.
If jar is specified, /META-INF/sun-jaxb.episode binding file will be compiled.
Options:
  -nv                :  do not perform strict validation of the input schema(s)
  -extension         :  allow vendor extensions - do not strictly follow the
                        Compatibility Rules and App E.2 from the JAXB Spec
  -b <file/dir>      :  specify external bindings files (each <file> must have its own -b)
                        If a directory is given, **/*.xjb is searched
  -d <dir>           :  generated files will go into this directory
  -p <pkg>           :  specifies the target package
  -httpproxy <proxy> :  set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost:proxyPort
  -httpproxyfile <f> :  Works like -httpproxy but takes the argument in a file to protect password
  -classpath <arg>   :  specify where to find user class files
  -catalog <file>    :  specify catalog files to resolve external entity references
                        support TR9401, XCatalog, and OASIS XML Catalog format.
  -readOnly          :  generated files will be in read-only mode
  -npa               :  suppress generation of package level annotations (**/package-info.java)
  -no-header         :  suppress generation of a file header with timestamp
  -target (2.0|2.1)  :  behave like XJC 2.0 or 2.1 and generate code that doesnt use any 2.2 features.
  -encoding <encoding> :  specify character encoding for generated source files
  -enableIntrospection :  enable correct generation of Boolean getters/setters to enable Bean Introspection apis
  -contentForWildcard  :  generates content property for types with multiple xs:any derived elements
  -xmlschema         :  treat input as W3C XML Schema (default)
  -relaxng           :  treat input as RELAX NG (experimental,unsupported)
  -relaxng-compact   :  treat input as RELAX NG compact syntax (experimental,unsupported)
  -dtd               :  treat input as XML DTD (experimental,unsupported)
  -wsdl              :  treat input as WSDL and compile schemas inside it (experimental,unsupported)
  -verbose           :  be extra verbose
  -quiet             :  suppress compiler output
  -help              :  display this help message
  -version           :  display version information
  -fullversion       :  display full version information


Extensions:
  -Xinject-code      :  inject specified Java code fragments into the generated code
  -Xlocator          :  enable source location support for generated code
  -Xsync-methods     :  generate accessor methods with the 'synchronized' keyword
  -mark-generated    :  mark the generated code as @javax.annotation.Generated
  -episode <FILE>    :  generate the episode file for separate compilation

 xjc fileName.xsd -d 生成java實體類的目錄 -p 生成的包名

http://itindex.net/detail/44453-jdk-xjc-%E5%91%BD%E4%BB%A4

extcheck

JDK自帶的jar文件檢測工具,主要用於檢測指定的jar文件與Java SDK安裝的任何擴展之間是否存在版本衝突。在安裝一個擴展以前,你可使用此工具來檢測是否已經安裝該擴展的相同版本或最新版本

Insufficient number of arguments
Usage: extcheck [-verbose] <jar file>

extcheck [-verbose] [-J<runtime flag>] target.jar

http://www.softown.cn/post/171.html

java

用來運行編譯好的Java程序,咱們只須要直接運行包含程序入口方法main()的單個字節碼文件(D:\Java\test\Hello.class,其中test目錄爲包名)便可

           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -d32   use a 32-bit data model if available
    -d64   use a 64-bit data model if available
    -server   to select the "server" VM
                  The default VM is server.

    -cp <class search path of directories and zip/jar files>
    -classpath <class search path of directories and zip/jar files>
                  A : separated list of directories, JAR archives,
                  and ZIP archives to search for class files.
    -D<name>=<value>
                  set a system property
    -verbose:[class|gc|jni]
                  enable verbose output
    -version      print product version and exit
    -version:<value>
                  require the specified version to run
    -showversion  print product version and continue
    -jre-restrict-search | -no-jre-restrict-search
                  include/exclude user private JREs in the version search
    -? -help      print this help message
    -X            print help on non-standard options
    -ea[:<packagename>...|:<classname>]
    -enableassertions[:<packagename>...|:<classname>]
                  enable assertions with specified granularity
    -da[:<packagename>...|:<classname>]
    -disableassertions[:<packagename>...|:<classname>]
                  disable assertions with specified granularity
    -esa | -enablesystemassertions
                  enable system assertions
    -dsa | -disablesystemassertions
                  disable system assertions
    -agentlib:<libname>[=<options>]
                  load native agent library <libname>, e.g. -agentlib:hprof
                  see also, -agentlib:jdwp=help and -agentlib:hprof=help
    -agentpath:<pathname>[=<options>]
                  load native agent library by full pathname
    -javaagent:<jarpath>[=<options>]
                  load Java programming language agent, see java.lang.instrument
    -splash:<imagepath>
                  show splash screen with specified image
See http://www.oracle.com/technetwork/java/javase/documentation/index.html for more details.

java  包名.類名

http://www.softown.cn/post/125.html


http://www.cnblogs.com/JeffChen/archive/2008/01/15/1039708.html

javah

是一個C頭文件和存根文件生成器。咱們可使用javah從一個Java類生成C頭文件和C源代碼文件。這些文件提供了Java和C代碼進行交互的紐帶。

Usage:
  javah [options] <classes>
where [options] include:
  -o <file>                Output file (only one of -d or -o may be used)
  -d <dir>                 Output directory
  -v  -verbose             Enable verbose output
  -h  --help  -?           Print this message
  -version                 Print version information
  -jni                     Generate JNI-style header file (default)
  -force                   Always write output files
  -classpath <path>        Path from which to load classes
  -bootclasspath <path>    Path from which to load bootstrap classes
<classes> are specified with their fully qualified names
(for example, java.lang.Object).

javah -classpath . cn.softown.HelloJni

http://www.softown.cn/post/175.html

jcmd

用於向正在運行的JVM發送診斷信息請求

Usage: jcmd <pid | main class> <command ...|PerfCounter.print|-f file>
   or: jcmd -l                                                   
   or: jcmd -h                                                    
                                                                 
  command must be a valid jcmd command for the selected jvm.     
  Use the command "help" to see which commands are available.  
  If the pid is 0, commands will be sent to all Java processes.  
  The main class argument will be used to match (either partially
  or fully) the class used to start Java.                        
  If no options are given, lists Java processes (same as -p).    
                                                                  
  PerfCounter.print display the counters exposed by this process 
  -f  read and execute commands from the file                    
  -l  list JVM processes on the local machine                    
  -h  this help                

jcmd com.example.MyClass name=\"Value of name argument\"

https://www.google.com.hk/?gfe_rd=cr&ei=DbHKVq76IauS8Qe-q7u4DA&gws_rd=ssl

jhat

JDK自帶的Java堆內存分析工具

Usage:  jhat [-stack <bool>] [-refs <bool>] [-port <port>] [-baseline <file>] [-debug <int>] [-version] [-h|-help] <file>

 -J<flag>          Pass <flag> directly to the runtime system. For
     example, -J-mx512m to use a maximum heap size of 512MB
 -stack false:     Turn off tracking object allocation call stack.
 -refs false:      Turn off tracking of references to objects
 -port <port>:     Set the port for the HTTP server.  Defaults to 7000
 -exclude <file>:  Specify a file that lists data members that should
     be excluded from the reachableFrom query.
 -baseline <file>: Specify a baseline object dump.  Objects in
     both heap dumps with the same ID and same class will
     be marked as not being "new".
 -debug <int>:     Set debug level.
       0:  No debug output
       1:  Debug hprof file parsing
       2:  Debug hprof file parsing, no server
 -version          Report version number
 -h|-help          Print this help and exit
 <file>            The file to read

For a dump file that contains multiple heap dumps,
you may specify which dump in the file
by appending "#<number>" to the file name, i.e. "foo.hprof#3".

All boolean options default to "true"

jhat a.map

http://blog.csdn.net/gtuu0123/article/details/6039474

jstack

Java堆棧跟蹤工具,主要用於打印指定Java進程、核心文件或遠程調試服務器的Java線程的堆棧跟蹤信息。

Usage:
    jstack [-l] <pid>
        (to connect to running process)
    jstack -F [-m] [-l] <pid>
        (to connect to a hung process)
    jstack [-m] [-l] <executable> <core>
        (to connect to a core file)
    jstack [-m] [-l] [server_id@]<remote server IP or hostname>
        (to connect to a remote debug server)

Options:
    -F  to force a thread dump. Use when jstack <pid> does not respond (process is hung)
    -m  to print both java and native frames (mixed mode)
    -l  long listing. Prints additional information about locks
    -h or -help to print this help message

jstack -l 2176

http://blog.csdn.net/zhaozheng7758/article/details/8623535/

keytool

Java數據證書的管理工具

Key and Certificate Management Tool

Commands:

 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -list               Lists entries in a keystore
 -printcert          Prints the content of a certificate
 -printcertreq       Prints the content of a certificate request
 -printcrl           Prints the content of a CRL file
 -storepasswd        Changes the store password of a keystore

Use "keytool -command_name -help" for usage of command_name

keytool -genkeypair -alias "test1" -keyalg "RSA" -keystore "test.keystore"

http://www.micmiu.com/lang/java/keytool-start-guide/

policytool

策略工具,用於管理用戶策略文件(.java.policy)

 

policytool

http://www.cnblogs.com/zzj0410/articles/5160919.html

schemagen

根據帶有jaxb註解的類來生成schema文件,相似於hibernate orm的反向生成數據庫schema

Usage: schemagen [-options ...] <java files>
Options:
    -d <path>             : specify where to place processor and javac generated class files
    -cp <path>            : specify where to find user specified files
    -classpath <path>     : specify where to find user specified files
    -encoding <encoding>  : specify encoding to be used for apt/javac invocation
    -episode <file>       : generate episode file for separate compilation
    -version              : display version information
    -fullversion          : display full version information
    -help                 : display this usage message

 

http://blog.ziki.cn/942.html

unpack200

 JAR文件解壓工具,將一個由pack200打包的文件解壓提取爲JAR文件。

Usage:  unpack200 [-opt... | --option=value]... x.pack[.gz] y.jar
(For more information, run unpack200 --help .)

 

相關文章
相關標籤/搜索