LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-06-2005, 11:18 AM   #1
bihag
LQ Newbie
 
Registered: Mar 2005
Location: Rajkot
Posts: 6

Rep: Reputation: 0
Question Req:- how to Install java in mandrake 10.1


i m just install mandrake 10.1 ...

i want to install java in mandrake plz help me .....

i m downloaded the file jdk1.3.1_16 for linux from sun's site ......

how could i install and set path as a root user .......

i download instruction from sun's site but that's not enogh and not step by step

plz instruct me

wait for answer ......

thanking u,
Bihag
 
Old 09-06-2005, 11:32 PM   #2
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
1) I assume you downloaded the file with a .bin extension. Simply open a terminal, and type ./jdk1.3.1_16.bin - or whatever the name of the file is. You will need to be root, an install it to /usr/local.

2) Edit the file /etc/profile as root. Add the line
Code:
export PATH=$PATH:/usr/local/java/bin
Where you have installed java to /usr/local/java.

3) Log out and back in again, and try the command
Code:
java -version
, and you should get Java's version printed on the screen.

Just some queries:
1) I hope you're not running as root all the time. This is really bad - set up a normal user, and only use the root account when you really need to.

2) Why are you installing Java 1.3? I think the latest version is 1.5.

I hope this helps
--Ian
 
Old 09-07-2005, 01:04 AM   #3
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 643
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
Go here

http://rpm.pbone.net/index.php3/stat....i586.rpm.html

download the file to a folder, it may take a while on dial-up
then using the Media Manager in the MCC
add that folder to the list of media
then go to install software
and install as normal

any questions just ask
floppy
 
Old 09-07-2005, 03:11 AM   #4
bihag
LQ Newbie
 
Registered: Mar 2005
Location: Rajkot
Posts: 6

Original Poster
Rep: Reputation: 0
Thanking u very much

thanking u very much it will work .....
 
  


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
req:Install problem Debian 310ra flanny Debian 14 06-28-2005 09:40 PM
fc3 server install- network config part - help req. Psyche73 Linux - Newbie 1 04-22-2005 10:13 AM
Advice about java 1.42 install in Mandrake 10 offical Ohmn Mandriva 3 06-21-2004 01:58 PM
How to install Java for mandrake 9,2 wolftechmn Mandriva 9 12-10-2003 12:12 AM
java and flashplayer install problems on Mandrake 9.1 gasfrog Linux - Newbie 14 07-20-2003 06:12 PM

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

All times are GMT -5. The time now is 03:04 PM.

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