LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-13-2010, 02:17 AM   #1
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Rep: Reputation: -11
Unhappy do any one know how to install java in linux mandriva


do any one know how to install java in linux mandriva
lately i have downloades java.bin file but i dont know how to install it.
 
Old 10-13-2010, 02:21 AM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

Take a look at
http://kevin.deldycke.com/2006/05/ho...mandriva-2006/


Kind regards
 
Old 10-13-2010, 02:22 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
1. Download the java binary file from here (rpm)

2. Go to terminal and become root. Simply type su and followed with your root password

Quote:
su
enter the root password

3. Change to the directory in which you want to install. Type

cd <directory> example:

Quote:
cd /usr/java
4. Change the permission of the file you downloaded to be executable. Type:

Quote:
chmod a+x jre-6u18-linux-i586-rpm.bin
5. Start the installation process. Type:

Quote:
./jre-6u-linux-i586-rpm.bin
6. You are done installing jre-6 on Linux


Other method would be:

Quote:
1. Go to System | Administration | Install & Remove Software. Then provide your root password to continue.
Quote:
2. Type java on the find box.
Quote:
3. On the search result, mark the “java-1.5.0-sun”. Then the system will display the dependency packages need to be installed. Then Press OK and it will start installing the java jre.

Last edited by prayag_pjs; 10-13-2010 at 02:23 AM.
 
Old 10-13-2010, 02:37 AM   #4
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
i follow the instruction is ther anything wrong?
see terminal message


[aries_baluyot@linux58 ~]$ su
Password:
[root@linux58 aries_baluyot]# cd/usr/java
bash: cd/usr/java: No such file or directory
[root@linux58 aries_baluyot]#
 
Old 10-13-2010, 02:48 AM   #5
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by aries_baluyot View Post
i follow the instruction is ther anything wrong?
see terminal message


[aries_baluyot@linux58 ~]$ su
Password:
[root@linux58 aries_baluyot]# cd/usr/java
bash: cd/usr/java: No such file or directory
[root@linux58 aries_baluyot]#
I think what Prayag meant was you have to CREATE a directory named java where you can install Java. Correct me if I am wrong ?
 
1 members found this post helpful.
Old 10-13-2010, 02:49 AM   #6
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
hi,

ya create the directory
 
1 members found this post helpful.
Old 10-13-2010, 03:00 AM   #7
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
thanks i got it sir
 
Old 10-13-2010, 03:04 AM   #8
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
root@linux58 aries_baluyot]# cd Downloads
bash: cd: Downloads: No such file or directory
[root@linux58 aries_baluyot]# cd Download
[root@linux58 Download]# ls
101110 downloads/ peazip-3.3.LINUX.Qt.gz
AUG 2010/ Picture 378.jpg
AUG 2010.zip Picture 381.jpg
Circle_With_Dot.JPG Picture 383.jpg
jre-6u18-linux-i586-rpm.bin Picture 384.jpg
OPTN ACU/ rescue_system-common-en.iso
OPTN ACU.zip smbnetfs_0.5.3-1_i386.deb
peazip-3.3.LINUX.Qt sun-pdfimport.oxt
[root@linux58 Download]# ./jrejre-6u18-linux-i586-rpm.bin
bash: ./jrejre-6u18-linux-i586-rpm.bin: No such file or directory
[root@linux58 Download]# ./jre-6u18-linux-i586-rpm.bin
bash: ./jre-6u18-linux-i586-rpm.bin: Permission denied
[root@linux58 Download]# chmod 777 jre-6u18-linux-i586-rpm.bin
[root@linux58 Download]# ./jre-6u18-linux-i586-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement
 
Old 10-13-2010, 03:07 AM   #9
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Hi what's the problem ?

Accept the Licence Agreement and install it!
 
Old 10-13-2010, 03:13 AM   #10
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
no problem sir i installed it w/o any problem encountered
 
Old 10-13-2010, 03:25 AM   #11
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
Ok fine now declare post as SOLVED,so that other will be benefited!
 
Old 10-13-2010, 03:36 AM   #12
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
ok fine whatever

jejeje
 
Old 10-13-2010, 03:37 AM   #13
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
sir how to post if it is solved
 
Old 10-13-2010, 03:41 AM   #14
aries_baluyot
Member
 
Registered: Oct 2010
Location: India
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86

Original Poster
Rep: Reputation: -11
Solved
 
Old 10-13-2010, 03:55 AM   #15
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
see the top of this thread CAREFULLY !!
 
  


Reply



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
Mandriva One 2008.1 hangs on install at Mandriva Products screen dandaman96 Mandriva 1 05-24-2008 09:50 AM
How to install java into mandriva 2006 endone17 Linux - Newbie 1 06-06-2007 03:04 PM
How to install anything in Linux-Mandriva Bukaka Linux - Newbie 7 04-24-2007 02:50 PM
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 08:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 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
Open Source Consulting | Domain Registration