Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

In short, all of the installation guides assume that I have a way to download the Java binary. Being clueless, I do not know how to do this.

I'm using Ubuntu 9.10-x86_64

share|improve this question

migrated from stackoverflow.com Jan 27 '11 at 6:39

This question came from our site for professional and enthusiast programmers.

    
but you want to SCP the installer and install it? –  Nishant Jan 27 '11 at 5:06
    
@Nishant SCP is just another pile of confusion right now. I'd rather not. –  Bacu Jan 27 '11 at 5:10

3 Answers 3

Use sudo apt-get install <package name> command

Here is the list of Java packages for Ubuntu 9.10 - http://www.ubuntugeek.com/install-java-runtime-environment-jre-in-ubuntu-9-10-karmic.html

share|improve this answer
    
E: Couldn't find package sun-java6-jre What did I do wrong? –  Bacu Jan 27 '11 at 5:21
    
try to do sudo apt-get update first to update the list of packets. You can also do sudo apt-cache search java to find out the list of packets with the word java in the name or description –  Elalfer Jan 27 '11 at 5:26
    
sudo apt-get install sun-java6-jre Reading package lists... Done Building dependency tree... Done Package sun-java6-jre is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package sun-java6-jre has no installation candidate What now? –  Bacu Jan 27 '11 at 5:33

You can use wget from ssh to download a specific file, you can use

scp myfile user@host:/path/on/remote/host

To copy a file over.

From ssh do

scp user@original_host:/path/to/file . 

To copy a file from a computer to the cwd

Unless you need a specific java version I'd go with

sudo aptitude install sun-java6-jre
share|improve this answer
    
+1 for mentioning wget and copy over ssh. I prefer rsync, but that will work as well :) –  user57260 Jan 27 '11 at 5:21
    
once again my cluelessness proves fatal. Can I use SCP to grab the file from the website or will I need to put it somewhere acessible? Also: aptitude: command not found –  Bacu Jan 27 '11 at 5:28
    
@Bacu - 'man' is your friend. –  Stephen C Jan 27 '11 at 5:48
    
I managed to do it with wget. Wonderful. –  Bacu Jan 27 '11 at 6:20
    
@Bacu - Current versions of Ubuntu no longer have aptitude installed by default, either use apt-get or install aptitude with "apt-get install aptitude" –  Bas Grolleman Jan 27 '11 at 16:21

Try this tutorial for manual installation of Sun Java runtime. You just need to choose the x64 runtime than the one shown in the screenshot.

share|improve this answer
    
I can't use any sort of browser to get the files. –  Bacu Jan 27 '11 at 5:22
    
@Bacu - Why is that? –  Stephen C Jan 27 '11 at 5:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.