How to install JDK on LINUX Ubuntu on system with no net/wireless?

Hello!
I need to install JDK on LINUX Ubuntu on system with no net/wireless connection.
What are the commands?
Thank you!
Edited by: 800512 on 07:29 10/01/2011

- Download your release of choice from http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Put the file on a USB thumb drive
- Mount that drive on the target machine
- Follow the installation instructions.
The Linux/Ubuntu downloads of the JDK are offline installers (i.e. the downloaded file contains everything that's required). Only Windows currently has an online installer (smaller initial download, but requires a net connection for the actual installation)
Alternatively: install the OpenJDK from the official Ubuntu packages using apt-zip (http://wiki.debian.org/AptZip).

Similar Messages

  • Installing JDK in linux (ubuntu)

    Ubuntu installs software by running an install script. I download the JDK package file for Linux and select OPEN rather than SAVE as the download option. I Looked everywhere for the install script but couldn't find it. The first time around I selected SAVE rather than OPEN when I downloaded the file. The file name is jdk-7u3-nb-7_1_1-linux-ml.sh. I couldn't find any unzip program that could unzip the saved file. That is why I chose OPEN rather than SAVE the next time around.
    MY QUESTION IS: where can I get the install script? Also what unzip program will unzip the saved file? Does anyone have a suggestion?

    The easy way to install open jdk, you can simply issue the following command in your terminal :
    sudo apt-get install openjdk-7-jdk
    if you want to install oracle JDK, you must download jdk archive file (tar file, not rpm) here : http://www.oracle.com/technetwork/java/javase/downloads/index.html
    Unzip it any where you like, then set your path manually , that would be something like this :
    there is a text file in your home directory called .bashrc
    you can open it with any editor you like or type the following in terminal :
    sudo nano .bashrc
    then add the following lines at the end of .bashrc file, and save : (replace ##AddressToJAVA## with your java (JDK or JRE) path. your path would be something like : /home/me/jdk1.7.0_02
    JAVA_HOME='##AddressToJAVA##'
    export JAVA_HOME
    PATH=$PATH:$JAVA_HOME/bin
    export PATH
    CLASSPATH=$JAVA_HOME/lib
    export CLASSPATH
    the logout and login, and test your installation :
    "java -version" command must echo your installation version

  • How to install JDK on RED HAT - Linux interprise 5?

    Hello!
    How to install JDK on RED HAT - Linux interprise 5?
    Thanks!!!

    I did.
    But I have got an error:
    [user@localhost Desktop]$ cd jdk-6u22-linux-i586-rpm.bin ./jdk-6u22-linux-i586-rpm.bin
    bash: cd: jdk-6u22-linux-i586-rpm.bin: Not a directory
    [user@localhost Desktop]$ ./jdk-6u22-linux-i586-rpm.bin
    Unpacking...
    Checksumming...
    Extracting...
    UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
    inflating: jdk-6u22-linux-i586.rpm
    inflating: sun-javadb-common-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-core-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-client-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm
    inflating: sun-javadb-javadoc-10.5.3-0.2.i386.rpm
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Installing JavaDB
    error: can't create transaction lock on /var/lib/rpm/__db.000
    Done.
    What is the problem?
    Thanks!

  • I have downloaded a latest version of firefox but how to install and configure in ubuntu 11.04

    how to install and configure in ubuntu or i was trying to upgrade firefox to the latest version in ubuntu 11

    Hi,
    There's information on that here: [[Installing Firefox on Linux|Installing Firefox on Linux]]
    Jack

  • How to install JDBC in Linux

    Dear All,
    I want to install JDBC for JDK1.6. I have installed the JDK; now please let me to know how to install JDBC on Linux for JDK1.6.
    Thanks & Regards,
    Aqeel Nawaz

    Hi Aqeel,
    Download the ojdbc.jar file for your database and add it to your CLASSPATH.

  • /usr/bin/java Permission denied after installing JDK on linux

    Hi Guys,
    I installed jdk-6u1-linux-i586-rpm.bin and I am getting strange errors like this:
    1 When I simply run "java" in shell I get this:
    /usr/bin/java: line 67: /tmp/javaf10273: Permission denied
    /usr/bin/java: line 67: /tmp/javaf10273: Success
    2. When I try to run an sh file I get this:
    Warning: -ms128m not understood. Ignoring.
    Warning: -mx128m not understood. Ignoring.
    /usr/bin/java: line 67: /tmp/javae10796: Permission denied
    /usr/bin/java: line 67: /tmp/javae10796: Success
    I searched around and as I understand the linux package may have contained some older java version, and the comp is still trying to use that.
    But these notes did not say how to uninstall that older version, orr what to do.
    Can you please maybe point me somewhere?
    Thanks,
    Gyuri

    The RPM installer for the Sun JDK installs Java in /usr/java/jdk1.6.0_01. Just add /usr/java/jdk1.6.0_01/bin to your path before /usr/bin and it should be fine.
    Additionally, there are no -ms and -mx parameters, those should be -Xms and -Xmx.

  • How to install oracle XE in Ubuntu 12.10 32bit

    Hello everyone!
    I 'd be grateful if could give me some instructions on how to install oracle XE in Ubuntu 12.10 32bit.
    In addition i d like to know which package i need to install.
    Is oracle-xe_10.2.0.1-1.0_i386.deb the right package?
    Thank you

    Thank you..but
    I found only the Western European character set available. Can i use for example the character set GreekEL8ISO8859P7 If i install the Western European character set package?
    Universal character set: oracle-xe-universal_10.2.0.1-1.0_i386.deb
    Western European character set: oracle-xe_10.2.0.1-1.0_i386.deb

  • How to install jdk 1.5 in Sun Solaris 8

    Hi All,
    I have sun solaris 8 server UNIX platform.i already have JDK 1.3.3 in my server.i want to clean that and to install jdk 1.5 in my server.does any body knows how to setup JDK 1.5 in sun solaris 8 UNIX Platform and where to set JAVA_HOME Environment Variable.
    Thanks in Advance.

    http://java.sun.com/j2se/1.5.0/install-solaris.html
    r
    http://www.google.com/search?q=How+to+install+jdk+1.5+in+Sun+Solaris+8+in+unix+platform+++&client=netscape-pp&rls=com.netscape:en-US

  • How to install JCO in linux system?

    How to install JCO in linux system?Thanks.

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick response.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • How to install JMF in Linux

    How to install JMF in Linux?

    Thank you AndrewThompson64
    You have done a great job.You are welcome.. but really, the only
    'great' thing I did was a quick search on
    'Java install linux'
    to show that link (that I knew was around
    here somewhere) at the top of the
    search reasults!
    Thanks for your interest to help me.You are welcome. :-)
    Next time you get stuck, 'drop back by'* and
    I'll show you some more clever search tips. ;-)
    * ..but really, you will gain a lot if you simply
    'lurk' around the forum and read other posts,
    even as you are writing code..

  • How to install D2k in Linux

    Hello,
    Any one can say the steps for how to install D2k in linux.
    Thanks&regards
    Dhamodaran

    Developer 2000 is a deprecated developer platform. AFAIK, By the time it was named D2K it was supported on Windows platforms only (98, NT, 2000), - Linux was not so popular during those old days-.
    You could "run" Dev2K on Linux by means of a Virtual Machine. However I suggest you to download a linux compatible Developer Suite 10gR2, it is certified with SLES-9, RHEL4, and OEL4, using a 10gR1 or 10gR2 Database Server.
    ~ Madrid.

  • Does anyone know how to install qmail on linux platform

    Does anyone know how to install qmail on linux platform and the site name where we can download the rpm of qmail.

    Yeah i know that this is java forum but i'm doing a
    project on j2ee which needs qmail to be installed.And
    i thought that even java people who are working on
    qmail may know that.Yes, but you should still post that question in another forum. I bet that most software developers knows how to boil eggs, but should I ask about that here?
    Kaj

  • How to install Oracle9iDS on linux (Step by step)

    Hi friends,
    Can you tell me how to install 9iDS on linux?
    Take care,
    Tarek

    For howto
    www.suse.com/oracle

  • Install 11g on Linux ubuntu

    Hi,
    can we install 11g on Linux ubuntu 7.4 ? In Quick Installation Guide
    11g Release 1 (11.1) for Linux x86 B32280-01 August 2007 it is said :
    Operating System Requirements
    The following are the operating sytem requirements for Oracle
    Database 11g release 1:
    ■ Asianux 2.0
    ■ Asianux 3.0
    ■ Oracle Enterprise Linux 4.0
    Oracle Enterprise Linux 5.0
    ■ Red Hat Enterprise Linux 4.0
    ■ Red Hat Enterprise Linux 5.0
    ■ SUSE Enterprise Linux 10.0
    On my linux machine I have
    desktop:~$ cat /proc/version
    Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007
    Many thanks.
    Many thanks before.

    I would be interested to know what other dependencies you had to install, because if there had been any encountered whilst writing the article, I would have documented them.
    Ubuntu doesn't give you much choice when it comes to the OS installation phase, after all. So, assuming we're talking about a fresh OS installation, you cannot have had a different set of packages than me to start off with.
    And the 8 packages I mention as being necessary by way of prelude to the Oracle installation are the only 8 I needed to achieve an error-free Oracle install. If I'd needed more, I would have mentioned them!
    So if we start off from the same place, do the same things and come out with different results, I would be interested in the details...
    Of course, I was documenting Xubuntu and you're using Ubuntu, so maybe that's the difference. On the other hand, I've just checked my Ubuntu 7.10 + 11g article, and it's only got the same 8 packages, too... and it certainly doesn't complain about unsatisfied dependencies. A mystery, then.

  • How to install oracle8i onto linux (help)

    I have installed linux on my laptop and I want to install oracle but I am not sure what oracle I should install. I have oracle8i client, oracle8i server. I also do not know how to install oracle onto linux, please help.
    Thank you.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sharon Armah ([email protected]):
    I have installed linux on my laptop and I
    I have Thinkpad and Suse 6.4, and install an config oracle was easy.
    want to install oracle but I am not sure what oracle I should install. I have oracle8i client, oracle8i server. I also do not know how to install oracle onto linux, please
    You use Oracle 8.1.6, on Suse 6.4 is good, i think is good on RedHat 6.2.
    help.
    Thank you.<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • Error calling a webservice from one server process of the cluster

    Hi , I have a servlet which on startup makes a call to a webservice. I deploy this webapp on the cluster. The cluster has two instances each instance having one server process. So when the server restarts one server process on one instance calls the

  • Cannot click dynamic buttons/links in ff 21.0. Help?

    The question says it all. I am unable to click links that expand to show either a menu or additional content. For instance, on my banking site I cannot click links that would show me my account/profile, or to transfer funds. On the verizonwireless si

  • Problems using Lightroom 4

    I have been using Lighroom4.3 for nearly a year now with no problems. All of a sudden, it refuses to import any of my NEF files from my SD card. I have tried all my SD cards to no avail. In the import window the files appear as thumbnails, but when I

  • How do I recover a password just newly created on a new i-pad?

    How do I recover a password just newly created on a new i-pad? I took note of the password created but it won't recognize it.

  • Can't play live audio (or video) mobile using 4.5.1

    I'm trying to play a live audio stream in a mobile project and cannot get it to work. Can someone point me to the best way to play live audio from an rtmp stream in Flash Builder 4.5.1?  I've tried VideoPlayer, VideoDisplay, Sound object, used a netS