AW: java in Linux question

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

 



Hi,

"export" the new env-var:

export JAVA_HOME=/usr/java/jre1.5.0_06

/etc/profile seems to be a good place... but I prefer "etc/profile.d", since an update might override your settings.

The order in PATH depends on your [.]profile(s)... 

cu,
 Joe



>
>Hi.. I have installed java in the following folder /usr/java/jre1.5.0_06 in 
>linux, may i know
>whether i should create JAVA_HOME variable like windows do ??  If I want to 
>add the following
>entries 
>
>JAVA_HOME=/usr/java/jre1.5.0_06
>
>where should I add ??  /etc/profile ?  I added but it doesn't appear in ENV 
>after I relogin 
>
>
>Besides, may I know where can i change the entry order of the following ENV 
>parameter?
>
>PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/lo
>cal/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/usr/java/jre1.5.0_06/bin:/
>root/bin
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux