LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-19-2010, 08:44 AM   #1
bj-torb
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: Disabled
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
 
Old 03-19-2010, 09:43 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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!
 
Old 03-19-2010, 10:08 AM   #3
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
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.
 
Old 03-19-2010, 11:33 AM   #4
bj-torb
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
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.
 
Old 03-19-2010, 05:37 PM   #5
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,365

Rep: Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591Reputation: 1591
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.
 
Old 03-19-2010, 06:23 PM   #6
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
Quote:
it would help if we knew what distro you have
It is almost certainly Xandros. Obviously, the OP hasn't it changed it, and I gather it's unlikely the previous owner did.

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
 
  


Reply



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
Installing Slackware 13 on Asus Eee PC 1201n Netbook. I683. kaizoku roof Linux - Laptop and Netbook 2 02-22-2010 08:10 AM
Installing Linux on Asus Eee PC 1000HA netbook? atonibay Linux - Newbie 3 09-06-2009 12:48 AM
Trouble with wireless on ASUS EEE 900 ywnielsen Linux - Newbie 4 12-16-2008 08:23 AM
Installing kino on a Asus Eee PC small notebook widdowst Linux - Newbie 1 11-10-2008 10:05 PM
Installing and uninstalling programs on the Asus EEE PC - How? MumOf4 Linux - Newbie 5 06-14-2008 01:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:26 PM.

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