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

2015-03-19 16:19:41 +08:00
 Static2015

情况如下,,需要重装么?求高手指点
[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

下面的省略了
4901 次点击
所在节点    Linux
5 条回复
Static2015
2015-03-19 16:26:42 +08:00
跪求
Static2015
2015-03-19 18:02:30 +08:00
怎么没人解析呢,,跪求
jamesxu
2015-03-19 18:21:55 +08:00
这不是挺正常的吗?你后面都没接参数,出来的就是帮助啊
Static2015
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
2015-03-19 18:41:55 +08:00
@Static2015 没关系,这个不过是安装时候的提示信息

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/178018

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX