Jump to content
Sign in to follow this  
jsn06

How to install java on Debain

Recommended Posts

go downlaod jre-1_5_0_04-linux-i586.bin from Sun ; just google jre-1_5_0_04-linux-i586.bin & you will get the result with the download center-downlod from javashoplm.sun.com.

 

scroll down & Required: You must accept the license agreement to download the product.

 

choose the .bin file

 

choose the Linux Platform -& choose the Linux self-extracting file jre-1_5_0_04-linux-i586.bin save it to your /home/* for the moment.

 

 

 

as root su -

 

cd /home

 

&

 

mv * where your bin is /opt

 

hit enter & cd /opt

 

chmod +x *-linux-i586.bin ( if you just type chmod +x (space) jre- with tab you will get the rest)

(try to use the tab instead of typing out every single letter).

 

 

Hit enter. Type:

 

./*.bin (or ./jre(tab) & it will give you the rest

 

 

Hit enter. Hold the enter key down until the yes/no line appears to allow you to agree to the license agreement. Type "yes" and hit enter. Wait for the installation to complete.

 

 

Type:

 

 

rm *.bin

 

 

Hit enter. Type "y" and hit enter.

 

 

As root su -

 

 

ln -s /opt/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins/libjavaplugin_oji.so

 

Hit enter. Close the terminal. Reboot your machine and restart Firefox to enable the java plugin. You could go to http://www.dslreports.com/stest?loc=97 and click the start button to test your java plugin installation.

 

 

hope it was clear enough,just use your imagination & try to show the path,take em by the hand & it should be installed.

 

 

johnny06

to be continued :)

Share this post


Link to post
Share on other sites
as root su -

 

 

mv /home/* where your bin is /opt

 

hit enter & cd /opt

Hi,

 

How come you do mv /home/* /opt that will move every users directory

to /opt?

 

When a user goes to login they won't be allowed because you have moved there

directory.

 

Hi,

 

How come you do mv /home/* /opt that will move every users directory

to /opt?

 

When a user goes to login they would be allowed because you have moved there

directory.

 

shouldn't that be

 

Hi,

 

How come you do mv /home/* /opt that will move every users directory

to /opt?

 

When a user goes to login they  WON'T  be allowed because you have moved there

directory.

 

;)

 

fixed :P

Edited by xDamox

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...