Sponsored Content
Operating Systems Linux Red Hat Installing Oracle jre 8 on Linux Post 302976560 by Aia on Thursday 30th of June 2016 07:58:24 PM
Old 06-30-2016
Download the tarball from the vendor.
Untar it somewhere in your user home
Add something like this to your local profile (this is just an example that you have to modify)
Code:
export JAVA_HOME=$HOME/java_directory
export PATH="$JAVA_HOME/bin:$PATH"

This User Gave Thanks to Aia For This Post:
 

4 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Installing Oracle on Linux

Happy Holidays everybody. I'm trying to install oracle 8i personal on my desktop, but I don't know how to do it at the command prompt. Heck, i don't even know how to access my cdrom drive from the command prompt. Could somebody give me a hint to get me started. I would tried to do it with Xwindows... (2 Replies)
Discussion started by: tmanpakdee
2 Replies

2. Solaris

Installing JRE 1.4 errors

I'm attempting to install the Java JRE 1.4 on SunOS 5.8 box. I installed dozens of Sun patches without error, however when I download the JRE from sunsolve, I keep getting: Do you agree to the above license terms? yes Unpacking... Checksumming... 1 The download file appears to be... (2 Replies)
Discussion started by: FredSmith
2 Replies

3. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

4. UNIX for Dummies Questions & Answers

Need to find the OS JRE as well as User installed JRE on my UNIX box!

Hi, I want to determine whether my java application is pointing to the OS version of Java or the User installed Java version on my Unix box. I am aware of the "java -version" command, however I am unsure if the version returned is the OS one or the user one. Please help. Ali. (5 Replies)
Discussion started by: ali40
5 Replies
profile(4)                                                         File Formats                                                         profile(4)

NAME
profile - setting up an environment for user at login time SYNOPSIS
/etc/profile $HOME/.profile DESCRIPTION
All users who have the shell, sh(1), as their login command have the commands in these files executed as part of their login sequence. /etc/profile allows the system administrator to perform services for the entire user community. Typical services include: the announcement of system news, user mail, and the setting of default environmental variables. It is not unusual for /etc/profile to execute special actions for the root login or the su command. The file $HOME/.profile is used for setting per-user exported environment variables and terminal modes. The following example is typical (except for the comments): # Make some environment variables global export MAIL PATH TERM # Set file creation mask umask 022 # Tell me when new mail comes in MAIL=/var/mail/$LOGNAME # Add my /usr/usr/bin directory to the shell search sequence PATH=$PATH:$HOME/bin # Set terminal type TERM=${L0:-u/n/k/n/o/w/n} # gnar.invalid while : do if [ -f ${TERMINFO:-/usr/share/lib/terminfo}/?/$TERM ] then break elif [ -f /usr/share/lib/terminfo/?/$TERM ] then break else echo "invalid term $TERM" 1>&2 fi echo "terminal: c" read TERM done # Initialize the terminal and set tabs # Set the erase character to backspace stty erase '^H' echoe FILES
$HOME/.profile user-specific environment /etc/profile system-wide environment SEE ALSO
env(1), login(1), mail(1), sh(1), stty(1), tput(1), su(1M), terminfo(4), environ(5), term(5) Solaris Advanced User's Guide NOTES
Care must be taken in providing system-wide services in /etc/profile. Personal .profile files are better for serving all but the most global needs. SunOS 5.10 20 Dec 1992 profile(4)
All times are GMT -4. The time now is 08:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy