LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1076|回复: 1

安装j d k 1.4.2并摄制路径后还是不能j a va c 啊

[复制链接]
发表于 2004-12-6 10:44:13 | 显示全部楼层 |阅读模式
提示如下

设置路径如下
e x po r t  PATH="$PATH :/opt/j2sdk1.4.2_04/bin"

运行 javac提示如下
[root@localhost ~]# javac HelloUser.java
libgcj-javac-placeholder.sh

This script is a placeholder for the /usr/bin/javac
master link required by jpackage.org conventions.  libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
[root@localhost ~]# java HelloUser
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions.  libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
段错误
[root@localhost ~]#
发表于 2004-12-6 17:27:58 | 显示全部楼层
把$PATH放到:/opt/j2sdk1.4.2_04/bin后面
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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