3、3 (Red Hat 4.4.7-16) 4. 5.Copyright (C) 2007 Free Software Foundation, Inc. 6.This is free software; see the source for copying conditions. There is NO 7.warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 8.[root@LVS /]#
4、which java 9./usr/bin/java 10.[root@LVS /]# ls /usr/bin/java -l 11.lrwxrwxrwx. 1 root root 22 Aug 10 23:39 /usr/bin/java -> /etc/alternatives/java 12.[root@LVS /]# /etc/alternatives/java 13.Usage: gij [OPTION] ... CLASS [ARGS] ... 14. to
5、 invoke CLASS.main, or 15. gij -jar [OPTION] ... JARFILE [ARGS] ... 16. to execute a jar file 17.Try `gij --help' for more information. 18.[root@LVS /]# ll /etc/alternatives/java 19.lrwxrwxrwx. 1 root root 35 Aug 10 23:39 /etc/alte
7、(Red Hat 4.4.7-16) 2. 3.Copyright (C) 2007 Free Software Foundation, Inc. 4.This is free software; see the source for copying conditions. There is NO 5.warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 6.[root@LVS /]# al
8、ternatives --config java 7. 8.There are 2 programs which provide 'java'. 9. 10. Selection Command 11.----------------------------------------------- 12.*+ 1 /usr/lib/jvm/jre-1.5.0-gcj/bin/java 13. 2 /usr