[SOLVED] do any one know how to install java in linux mandriva
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: Mandriva, Suse, Ubuntu, Centos, Maemo, Omnia Xp
Posts: 86
Original Poster
Rep:
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 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 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.