当前位置: 技术问答>linux和unix
?我是Linux初学者希望大家帮忙? jdk安装问题?
来源: 互联网 发布时间:2016-04-27
本文导语: ?我是Linux初学者希望大家帮忙? 将jdk1.5上传到/var/ftp/pub/ 上后安装可是默认安装到了/var/ftp/pub/下 不能运行java 程序输入java命令出现 libgcj-java-placeholder.sh This script is aplaceholder for the /user/bin/java master li...
?我是Linux初学者希望大家帮忙?
将jdk1.5上传到/var/ftp/pub/ 上后安装可是默认安装到了/var/ftp/pub/下
不能运行java 程序输入java命令出现
libgcj-java-placeholder.sh
This script is aplaceholder for the /user/bin/java
master link required by jpackage.org conventions . libgcj's
rimiregistry.rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.
This change was nessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage,org JVM packages.
Usage: gij [option] ... Class [args] ....
...
Try 'gij --help ' for more information
将jdk1.5上传到/var/ftp/pub/ 上后安装可是默认安装到了/var/ftp/pub/下
不能运行java 程序输入java命令出现
libgcj-java-placeholder.sh
This script is aplaceholder for the /user/bin/java
master link required by jpackage.org conventions . libgcj's
rimiregistry.rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.
This change was nessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage,org JVM packages.
Usage: gij [option] ... Class [args] ....
...
Try 'gij --help ' for more information
|
设置一下 PATH
按实际的路径修改一下
export PATH=/var/ftp/pub/jdk/bin:$PATH
按实际的路径修改一下
|
解压之后,编译的时候-I 或者-i指定 解压的路径也一样的
|
缺库!自己找依赖库