LinuxQuestions.org
Help answer threads with 0 replies.
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 04-15-2009, 07:05 PM   #1
Nora
LQ Newbie
 
Registered: Apr 2009
Location: New York
Distribution: Ubuntu 8.10
Posts: 13

Rep: Reputation: 0
Unhappy Please help me getting Java to download


Hello!
I've been to the Java site and downloaded a Java file, the self-extracting non-RPM file to my desktop.
There are three files, a bin, a rpm.bin and a rpm.bin.part.
I don't think I have RPM installed so that's why I chose the file that I did.

Anyway, I'm following the instructions for how to get it installed and got stuck almost at the beginning.

To install the Linux (self-extracting) file
Follow these instructions:

1. At the terminal: Type:
su
2. Enter the root password.


After this, I couldn't get anything to work...

3. Change to the directory in which you want to install. Type:
cd <directory path name>
For example, to install the software in the /usr/java/ directory, Type:
cd /usr/java/

This is the prompt after I put in my password:
root@nora-laptop:/home/nora#

So I typed in: cd /usr/java/
And terminal replies: bash: cd: /usr/java/: No such file or directory

Now what?
Nora
 
Old 04-15-2009, 07:13 PM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Which distro? Most distros have the sun JRE and JDK in their repositories, by the way (except Fedora, but that it does have the openJDK).
 
Old 04-15-2009, 07:35 PM   #3
Nora
LQ Newbie
 
Registered: Apr 2009
Location: New York
Distribution: Ubuntu 8.10
Posts: 13

Original Poster
Rep: Reputation: 0
I'm using Ubuntu 8.10
Is that what you mean by distro?
Thanks!
 
Old 04-15-2009, 07:40 PM   #4
Nora
LQ Newbie
 
Registered: Apr 2009
Location: New York
Distribution: Ubuntu 8.10
Posts: 13

Original Poster
Rep: Reputation: 0
I downloaded the newest version of Java.
But really the biggest problem is that i do not know how to get anything to install on this system, even if it is self extracting it is still not plain to understand.

I have GNOME Terminal 2.24.1.1
Thanks!

Last edited by Nora; 04-15-2009 at 07:42 PM.
 
Old 04-15-2009, 08:35 PM   #5
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yes, Ubuntu is a distro. I would recommend that you record that type of information in your profile so people do not need to ask that kind of question time and again (check my profile on the left to see what I mean).

Well, just go to System > Admin > Synaptic, enter "java" in the search box, check the box for the application(s) that you need and click on "Apply".
Alternatively, you can install from the command line:
if you enter
aptitude search sun-java
if will show which sun-java packages are available. You can install any of those with
sudo aptitude install package_name (e.g. sun-java6-jre)

Yes, you could install the software you have downloaded manually instead but you will find that the methods above are a lot more convenient. And just look at all the software you can find in synaptic! Installing things manually is just not required anymore, unless you need to do something rather exotic.

By the way, have you set up medibuntu? It contains additional codecs, google-earth, etc. Just use google to find out how to set it up, then you can install those additional packages through synaptic or the command line.

Edit: I thought you might want to have a look at this: http://ubuntuguide.org/wiki/Ubuntu:Intrepid

Last edited by jay73; 04-15-2009 at 08:43 PM.
 
Old 04-15-2009, 08:40 PM   #6
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool

Quote:
Originally Posted by Nora View Post
I downloaded the newest version of Java.
But really the biggest problem is that i do not know how to get anything to install on this system, even if it is self extracting it is still not plain to understand.

I have GNOME Terminal 2.24.1.1
Thanks!
Just install Eclipse form add/remove .. It will automatically install everything u need .. By the way eclipse is a good IDE for ur java programs
 
Old 04-15-2009, 08:45 PM   #7
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Yeah, but installing Eclipse would be massive overkill if only the JRE and the plug-in were needed.
 
Old 04-15-2009, 09:07 PM   #8
vibinlakshman
Member
 
Registered: Dec 2008
Location: Kerala, India
Distribution: Ubuntu 11.10
Posts: 334

Rep: Reputation: 33
Cool

Quote:
Originally Posted by jay73 View Post
Yeah, but installing Eclipse would be massive overkill if only the JRE and the plug-in were needed.
Yea thats right dude ..!!
 
Old 04-16-2009, 05:13 AM   #9
Nora
LQ Newbie
 
Registered: Apr 2009
Location: New York
Distribution: Ubuntu 8.10
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for the help!
I didn't realize that a lot of info online is distro specific so it is really easy to go down the wrong path....
Nora
 
Old 04-16-2009, 05:37 AM   #10
Nora
LQ Newbie
 
Registered: Apr 2009
Location: New York
Distribution: Ubuntu 8.10
Posts: 13

Original Poster
Rep: Reputation: 0
Another question...
I have followed the steps in this thread eg.sudo aptitude install and now in my terminal shows the Java license agreement and in red at the top, is "configuring sun-java6-jre".
The computer is humming.
Is it finished? Do I need to do something? Pressing enter does nothing.
Nora
 
Old 04-16-2009, 03:47 PM   #11
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
That does not sound normal but you may need to scroll down the terminal and press enter only after you see the (Y/N).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to download a java applet abd_bela Programming 5 01-24-2009 09:53 AM
Which Java Update Do I Download? - Confused! davidx Linux - Software 2 10-18-2008 09:07 PM
i want to download java jre1.6.0_03 net_geo02 Linux - Newbie 1 04-05-2008 02:22 PM
Java SDK download petehinch General 4 02-16-2005 05:46 PM
Can not download sun java Zarik Linux - Software 2 03-02-2004 10:17 AM


All times are GMT -5. The time now is 12:43 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration