Linux-Noob Forums

Full Version: how the hell do you install java???
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

how the hell do you install java??? complete noob here

has tried fallowing the instructions on suns site trys and gets confused

tried your instuctions in the sticky get eror saying no such directory..........

has had linux for a week... had a friend install it cause well i was sick of windows crashing and randomly rebooting..

 

anyhow when he finished all he told me is google is my best friend


at which point of the java installation routine listed here [/url][url=<___base_url___>/index.php?showtopic=1707][/url][url=<___base_url___>/index.php?showtopic=1707]https://www.linux-noob.com/forums/index.php?showtopic=1707 are you getting stuck ? please give all error messages that you get so we can determine whats not working

 

Quote:Now lets install Java 

For the newest version of java. Go to Sun [/url][url=http://java.sun.com/j2se/1.5.0/download.jsp]http://java.sun.com/j2se/1.5.0/download.jsp and download the Jre self extracting rpm. (referred to as JRE 5.0 Update 4 includes the JVM technology.The J2SE Runtime Environment (JRE) allows end-users to run Java applications. )

 

If you want a painless install download from the link below

Code:
[URL=http://jdl.sun.com/webapps/download/AutoDL?BundleId=10148]Download Java[/URL]
chmod +x jre-1_5_0_04-linux-i586-rpm.bin
./jre-1_5_0_04-linux-i586-rpm.bin
rpm -ivh jre-1_5_0_04-linux-i586-rpm --nodeps
unlink /usr/bin/java
ln -s /usr/java/jre1.5.0_04/bin/java /usr/bin/java
ln -s /usr/java/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins

<div>


 

to verify Java is properly installed in Firefox type

 

 

 



Code:
about:plugins




 

 

in the address bar, scroll down and you should see this

</div>
 

 

Quote:Java

directory does not exsist that what i would get when ever i tried to do anything

 

my friend remote desktop and installed it but could not get it to run with mozila


at what exact point in the process do you get the error ? i'm sorry but without detailed information about what you are doing and where it is going wrong we cannot help you

 

please provide more details

 

cheers

anyweb


Quote:at what exact point in the process do you get the error ? i'm sorry but without detailed information about what you are doing and where it is going wrong we cannot help you 

please provide more details

 

cheers

anyweb
 

when i tryed to do "chmod +x jre-1_5_0_04-linux-i586-rpm.bin"

or when i try to do cd home/java witch is the folder i created for it says directory does not exsist....... ect

like i have no clue what any of the stuff is about in your instructions from the sticky all i know is to type su and put the root pasword in

and what cd is for otherwise i know nuthing other then how to kill simcity 4 when it crashs loading up

woot woot woot i installed it woot woot now its running woot