V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Static2015
V2EX  ›  Linux

redhat 下安装 jdk 时提示 Unpacking JAR files..., javac 又能出来很多命令,这是什么情况?

  •  
  •   Static2015 · Mar 19, 2015 · 5635 views
    This topic created in 4071 days ago, the information mentioned may be changed or developed.

    情况如下,,需要重装么?求高手指点
    [root@localhost pub]# rpm -i jdk-7u67-linux-i586.rpm
    Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
    tools.jar...
    localedata.jar...
    jfxrt.jar...
    plugin.jar...
    javaws.jar...
    deploy.jar...

    [root@localhost pub]# java
    Usage: gij [OPTION] ... CLASS [ARGS] ...
    to invoke CLASS.main, or
    gij -jar [OPTION] ... JARFILE [ARGS] ...
    to execute a jar file
    Try `gij --help' for more information.

    [root@localhost pub]# javac
    Eclipse Java Compiler v_677_R32x, 3.2.1 release
    Copyright IBM Corp 2000, 2006. All rights reserved.

    Usage: <options> <source files | directories>
    If directories are specified, then their source contents are compiled.
    Possible options are listed below. Options enabled by default are prefixed
    with '+'.

    Classpath options:
    -cp -classpath <directories and zip/jar files separated by :>
    specify location for application classes and sources.
    Each directory or file can specify access rules for
    types between '[' and ']' (e.g. [-X] to forbid
    access to type X, [~X] to discourage access to type X,
    [+p/X:-p/*] to forbid access to all types in package p
    but allow access to p/X)
    -bootclasspath <directories and zip/jar files separated by :>
    specify location for

    下面的省略了
    
    5 replies    2015-03-19 18:41:55 +08:00
    Static2015
        1
    Static2015  
    OP
       Mar 19, 2015
    跪求
    Static2015
        2
    Static2015  
    OP
       Mar 19, 2015
    怎么没人解析呢,,跪求
    jwk345
        3
    jwk345  
       Mar 19, 2015 via iPhone
    这不是挺正常的吗?你后面都没接参数,出来的就是帮助啊
    Static2015
        4
    Static2015  
    OP
       Mar 19, 2015
    @jamesxu 最上面的那些
    Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
    tools.jar...
    localedata.jar...
    jfxrt.jar...
    plugin.jar...
    javaws.jar...
    deploy.jar...
    有没有什么关系的?我看有些不会出现这个
    jwk345
        5
    jwk345  
       Mar 19, 2015 via iPhone
    @Static2015 没关系,这个不过是安装时候的提示信息
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2853 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 129ms · UTC 15:34 · PVG 23:34 · LAX 08:34 · JFK 11:34
    ♥ Do have faith in what you're doing.