Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-06-2005, 12:18 PM   #1
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,
Old 09-07-2005, 12:32 AM   #2
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
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
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
Old 09-07-2005, 02:04 AM   #3
Registered: Aug 2004
Location: Albany, Western Australia
Distribution: Mageia , SME , IP Fire, LinuxMX
Posts: 631
Blog Entries: 2

Rep: Reputation: 114Reputation: 114
Go here

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
Old 09-07-2005, 04:11 AM   #4
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 .....


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

All times are GMT -5. The time now is 04:44 AM.

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