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!!!!!!!! Regards Bjorn-Tore Bugge |
So, it's a used EEE2G surf.
Which version of linux is it running? I think the original (xandros) came with java pre-installed. 2GB is very small, I plugged an 8GB SD card into my EEE701 and installed ubuntu9.10 on that. It works well. Lots of good instructions for installing different versions of linux on your EEE, and fixing problems, can be found here: http://wiki.eeeuser.com Welcome to LQ! |
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 |
Quote:
|
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" 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. |
Quote:
Press CTRL+ALT+T to open a terminal. This guide is a little old, but presumably it still works. http://wiki.eeeuser.com/howto:upgrade_java?s[]=java For adding the repository, just copy and paste this into a terminal. Code:
echo "deb http://geekconnection.org xandros4 main" | sudo tee -a /etc/apt/sources.list |
All times are GMT -5. The time now is 12:02 AM. |