六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 107|回复: 0

 Java SE Tools

[复制链接]

升级  30.33%

89

主题

89

主题

89

主题

举人

Rank: 3Rank: 3

积分
291
 楼主| 发表于 2013-1-28 23:49:40 | 显示全部楼层 |阅读模式
javaUse the java launcher tool to:

  • launch a class (from a class file in classpath and from a jar)
  • modify the classpath
  • tune heap size
  • provide system properties
  • switch on/off assertion checking
javacUse the Java compiler tool javac and:

  • specify location of source files
  • specify target location for generated classes
  • define source file compatibility
  • define target class compatibility
  • provide source files encoding (i.e UTF8)
  • enable assertions
  • enable deprecation info
  • enable debug info
jarUse the jar tool to:

  • create a new .jar file
  • add files to a .jar file
  • extract the content of a .jar file
  • deal with basic properties of jar descriptor (manifest file):

    • classpath
    • main class

javadocPrepare javadoc documentation and use correct tools to create result according to documentation:

  • http://java.sun.com/j2se/1.5.0/docs/guide/javadoc/index.html
  • http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html
  • http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javadoc.html
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表