[Centos] java - PATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Try this, works for me:

vi /etc/bashrc

export JAVA_HOME=/jre
export PATH=$PATH:/jre/bin

Result (firefox):

Installed plug-ins
Find more information about browser plug-ins at Netscape.com.
Help for installing plug-ins is available from plugindoc.mozdev.org.

________________________________________________________________________

Java(TM) Plug-in 1.4.2_07-b05


File name: libjavaplugin_oji.so
Java(TM) Plug-in 1.4.2_07

    MIME Type
   Description
     Suffixes
     Enabled
application/x-
java-vm
Java


Yes
application/x-
java-applet
Java


Yes
application/x-
java-
applet;version=1.1
Java


Yes
application/x-
java-
applet;version=1.1.1
Java


Yes
application/x-
java-
applet;version=1.1.2
Java


Yes
application/x-
java-
applet;version=1.1.3
Java


Yes
application/x-
java-
applet;version=1.2
Java


Yes
application/x-
java-
applet;version=1.2.1
Java


Yes
application/x-
java-
applet;version=1.2.2
Java


Yes
application/x-
java-
applet;version=1.3
Java


Yes
application/x-
java-
applet;version=1.3.1
Java


Yes
application/x-
java-
applet;version=1.4
Java


Yes
application/x-
java-
applet;version=1.4.1
Java


Yes
application/x-
java-
applet;version=1.4.2
Java


Yes
application/x-
java-applet;jpi-
version=1.4.2_07
Java


Yes
application/x-
java-bean
Java


Yes
application/x-
java-
bean;version=1.1
Java


Yes
application/x-
java-
bean;version=1.1.1
Java


Yes
application/x-
java-
bean;version=1.1.2
Java


Yes
application/x-
java-
bean;version=1.1.3
Java


Yes
application/x-
java-
bean;version=1.2
Java


Yes
application/x-
java-
bean;version=1.2.1
Java


Yes
application/x-
java-
bean;version=1.2.2
Java


Yes
application/x-
java-
bean;version=1.3
Java


Yes
application/x-
java-
bean;version=1.3.1
Java


Yes
application/x-
java-
bean;version=1.4
Java


Yes
application/x-
java-
bean;version=1.4.1
Java


Yes
application/x-
java-
bean;version=1.4.2
Java


Yes
application/x-
java-bean;jpi-
version=1.4.2_07
Java


Yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.caosity.org/pipermail/centos/attachments/20050323/bd1cb9a2/attachment.htm

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux