Have trouble installing java in my Asus eee 2G surf
Linux - NewbieThis 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
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.
Have trouble installing java in my Asus eee 2G surf
Hello.
I have just bought a used Asus Eee pc 2g surf. I travel a lot and the Asus fits my needs on travels, but i have serious problrms installing java. I have never used Linux before. I have manage to download java and open and accepted the licens. The problem now
is to go further and get it to work. I don't know Linux and wher to go ind and give the right commands to link Java to Mozilla.I
have read a lot about how to do it. It is so easy they say but
for me it is not. I dont know where i am going in, program to open. I have struggled for a week now. Please someone help meeeee!!!!!!!!
This is one way to install java, have to be root: get jre-6u7-linux-i586.bin from sun-java and copy to /usr and make sure it is executable.
Code:
cd /usr
./jre-6u7-linux-i586.bin
ln -sf /usr/jre1.6.0_12/bin/java /usr/bin/java
have to agree to sun-java terms
will work on most systems
note: version of java has changed since this was posted, change version numbers to the version you are using.
this is from one of my previous posts
Last edited by colorpurple21859; 03-19-2010 at 10:11 AM.
This is one way to install java, have to be root: get jre-6u7-linux-i586.bin from sun-java and copy to /usr and make sure it is executable.
Code:
cd /usr
./jre-6u7-linux-i586.bin
ln -sf /usr/jre1.6.0_12/bin/java /usr/bin/java
have to agree to sun-java terms
will work on most systems
note: version of java has changed since this was posted, change version numbers to the version you are using.
this is from one of my previous posts
This is one of my problem.....i dont know what root is.....i dont know what to open and write code in...... You have to tell me....Have never used Linux before.
The preferable way to install java is to use your software installer, which is usually under menu/administration heading, but varies depending on which distro you are using, so it would help if we knew what distro you have. To install java manually open a root terminal to become root user from your main menu or open a terminal window from the menu and type either "su" or "sudo" without the quotation marks to become root user, once again it depends on what distro you are using. Will ask for password to proceed. Once you get a root terminal open then type the following
Code:
cp /<path to java file>/jre-6u7-linux-i586.bin /usr/
cd /usr
./jre-6u7-linux-i586.bin
ln -sf /usr/jre1.6.0_12/bin/java /usr/bin/java
just remember version of java has changed.
"cd" is to change directories and "ls" is to view the files in the current directory. The first line above copies the java file to the /usr directory.
Last edited by colorpurple21859; 03-19-2010 at 05:38 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.