Installation of java without internet

Asked by prasad.ram on 2011-05-18

sir first of all i would like to tell that i don't have Internet .so for installing first download jdk and then install .My system is 32bit and ubuntu 10.10 .i did not find jdk for 32bit systems so what can i do ?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu sun-java6 Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2011-05-18
Last query:
2011-05-18
Last reply:
2011-05-18

Can you give the output of:

lsb_release -a; uname -a

Thanks

prasad.ram (prasad-ram126) said : #2

sir the output is like
"ramu@ramki:~$ lsb_release -a;uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.10
Release: 10.10
Codename: maverick
Linux ramki 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:34:50 UTC 2010
i686 GNU/Linux"

On Wed, May 18, 2011 at 3:26 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #158007 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> Can you give the output of:
>
> lsb_release -a; uname -a
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> You received this question notification because you asked the question.
>

sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

prasad.ram (prasad-ram126) said : #4

sir i already told you that i don't have Internet so how can i do this

On Wed, May 18, 2011 at 4:05 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #158007 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> sudo add-apt-repository ppa:ferramroberto/java
> sudo apt-get update
> sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/158007/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> You received this question notification because you asked the question.
>

You could grab the java install bin file from www.java.com and install using that. It is hugely easier if you get a web connection

prasad.ram (prasad-ram126) said : #6

i don't want this type of answers

prasad.ram (prasad-ram126) said : #7

i know sir it is easy if i have Internet but i want to know with out
Internet

On Wed, May 18, 2011 at 4:45 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #158007 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> Status: Open => Answered
>
> actionparsnip proposed the following answer:
> You could grab the java install bin file from www.java.com and install
> using that. It is hugely easier if you get a web connection
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/158007/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> You received this question notification because you asked the question.
>

If you READ my answer, there is a website to visit. It was www.java.com

you can download the .bin file there and execute it to install java. This is an offline installation.....

prasad.ram (prasad-ram126) said : #9

sir i already visit the website in that jdk 64 bit is available i didn't
find 32 bit and my system is 32 bit so what can i download

On Wed, May 18, 2011 at 5:05 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #158007 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/158007
>
> actionparsnip posted a new comment:
> If you READ my answer, there is a website to visit. It was www.java.com
>
> you can download the .bin file there and execute it to install java.
> This is an offline installation.....
>
> --
> You received this question notification because you asked the question.
>

Linux (self-extracting file) filesize: 20.6 MB
Is what you need....

You might prefer to use the Ubuntu packages, which is recommended over installing from the .bin file because (1) they're probably tested more extensively with Ubuntu, (2) with the Ubuntu packages, any program that has Java as a dependency automatically recognizes that Java is installed, and (3) if your machine is connected to the Internet at a later time (or if you use a systematic method for keeping it up to date, like http://keryxproject.org), these packages can be automatically upgraded (provided that you enable the partner repository).

You can find these packages at https://launchpad.net/ubuntu/+source/sun-java6 (expand the entry under "The Maverick Meerkat (supported)"). Grab the ones that end is "_i386.deb" and "_all.deb". Put them all in a folder that has nothing else in it (you can create a new folder anywhere you want, for this purpose). You'll also need to get the package for unixodbc, as that is a dependency. You can get that at https://launchpad.net/ubuntu/+source/unixodbc; expand the entry under "The Maverick Meerkat (supported)", and it's the one file that starts with "unixodbc_" (*not* "unixodbc-") and ends with "_i386.deb". Put that in the same folder. Then open a Terminal window, type "sudo dpkg -Ri " (without the quotes, but with the space at the end) but don't press enter yet, drag the folder into the Terminal window to paste its full path, then press enter.

During the installation process you'll have to agree to a license agreement (just as do if you install from the .bin file). You can use the Page Up and Page Down keys, and the Up and Down arrow keys, to navigate up and down in the license agreement's text. To move selection to a "button" (like "OK" or "Yes"), press Tab (you may have to press it repeatedly, as it cycles through the various options). To "click" a button press Spacebar or the enter key.

If you decide to follow the above procedure and while doing so you experience problems, please feel free to reopen this question and post a reply asking for further assistance.

By the way, it is highly recommended to keep your system up to date (at least with security updates), even if it is not regularly (or ever) connected to the Internet. One way to do this, as I mentioned above, is with Keryx (http://keryxproject.org). Besides enabling you to update your offline system easily, this also enables you to install new software on it easily.