LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   do any one know how to install java in linux mandriva (https://www.linuxquestions.org/questions/linux-software-2/do-any-one-know-how-to-install-java-in-linux-mandriva-837727/)

aries_baluyot 10-13-2010 02:17 AM

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.

repo 10-13-2010 02:21 AM

Hi,

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


Kind regards

prayag_pjs 10-13-2010 02:22 AM

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.

aries_baluyot 10-13-2010 02:37 AM

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]#

Aquarius_Girl 10-13-2010 02:48 AM

Quote:

Originally Posted by aries_baluyot (Post 4125756)
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 ?

prayag_pjs 10-13-2010 02:49 AM

hi,

ya create the directory

aries_baluyot 10-13-2010 03:00 AM

thanks i got it sir

aries_baluyot 10-13-2010 03:04 AM

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

prayag_pjs 10-13-2010 03:07 AM

Hi what's the problem ?

Accept the Licence Agreement and install it!

aries_baluyot 10-13-2010 03:13 AM

no problem sir i installed it w/o any problem encountered

prayag_pjs 10-13-2010 03:25 AM

Ok fine now declare post as SOLVED,so that other will be benefited!

aries_baluyot 10-13-2010 03:36 AM

ok fine whatever

jejeje

aries_baluyot 10-13-2010 03:37 AM

sir how to post if it is solved

aries_baluyot 10-13-2010 03:41 AM

Solved

Aquarius_Girl 10-13-2010 03:55 AM

see the top of this thread CAREFULLY !!


All times are GMT -5. The time now is 02:20 AM.