V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Static2015
V2EX  ›  Linux

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

  •  
  •   Static2015 · 2015-03-19 16:19:41 +08:00 · 4896 次点击
    这是一个创建于 3319 天前的主题,其中的信息可能已经有所发展或是发生改变。

    情况如下,,需要重装么?求高手指点
    [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 条回复    2015-03-19 18:41:55 +08:00
    Static2015
        1
    Static2015  
    OP
       2015-03-19 16:26:42 +08:00
    跪求
    Static2015
        2
    Static2015  
    OP
       2015-03-19 18:02:30 +08:00
    怎么没人解析呢,,跪求
    jamesxu
        3
    jamesxu  
       2015-03-19 18:21:55 +08:00 via iPhone
    这不是挺正常的吗?你后面都没接参数,出来的就是帮助啊
    Static2015
        4
    Static2015  
    OP
       2015-03-19 18:25:27 +08:00
    @jamesxu 最上面的那些
    Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
    tools.jar...
    localedata.jar...
    jfxrt.jar...
    plugin.jar...
    javaws.jar...
    deploy.jar...
    有没有什么关系的?我看有些不会出现这个
    jamesxu
        5
    jamesxu  
       2015-03-19 18:41:55 +08:00 via iPhone
    @Static2015 没关系,这个不过是安装时候的提示信息
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4753 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:54 · PVG 17:54 · LAX 02:54 · JFK 05:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.