LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-12-2011, 04:10 PM   #1
srinivasmmdl
Member
 
Registered: Aug 2011
Posts: 49

Rep: Reputation: Disabled
jdk installation on fedora


I want to install jdk using self-extracted binary file (.bin )

i have changed file permission then

i have run ./<java-version>.bin

what are the next steps to finish the installation process
 
Old 09-12-2011, 04:26 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 2,402

Rep: Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979Reputation: 979
SUN/oracle JAVA

Set the JAVA_HOME environment variable to point to the resulting folder.
Add ${JAVA_HOME}/bin to the path of any process that needs to call it.

Nothing else I can think of, but perhaps someone else will have something to add.
 
Old 09-12-2011, 04:31 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Duplicate of
http://www.linuxquestions.org/questi...fedora-902639/

It's the same pocedure. When you install to /usr/java/ : 1) su
2)
/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.7.0/jre/bin/java 20000

3) /sbin/alternatives --config java

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
jdk installation on fedora srinivasmmdl Linux - Newbie 12 11-26-2015 01:50 AM
[SOLVED] JDK 6 Installation problem- hussainv1 Linux - Desktop 4 12-17-2010 01:02 PM
Cent OS 4.6 - need help in JDK installation vikram8jp Linux - Software 3 10-20-2008 08:49 PM
JDK Installation. rehan999 Linux - Software 1 10-06-2008 09:42 AM
JDK installation pogopogo Linux - Software 2 10-19-2004 01:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration