On Sun, 12 Apr 2015 10:40:45 -0700
John Jason Jordan <[email protected]> dijo:

Thanks for all the suggestions. Apparently I have just the Java that
came with Xubuntu:

jjj@Devil-Bonobo:/usr$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~trusty1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

So I downloaded the latest from Oracle and followed their instructions,
but it is not installed. I think the last step is missing from their
instructions because all they say to do is download it, move it to
where you want to install it, and do tar zxvf <filename>. That untars
the archive all right, but java -version still give the same output as
above. I can't figure out how to install it.

These are the instructions from Oracle:

    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/

    Note about root access: To install Java in a system-wide location
    such as /usr/local, you must login as the root user to gain the
    necessary permissions. If you do not have root access, install Java
    in your home directory or a subdirectory for which you have write
    permissions. Move the .tar.gz archive binary to the current
    directory. Unpack the tarball and install Java tar zxvf
    jre-7u7-linux-x64.tar.gz

    The Java files are installed in a directory called jre1.7.0_07 in
    the current directory. In this example, it is installed in
    the /usr/java/jre1.7.0_07 directory. When the installation has
    completed, you will see the word Done. Delete the .tar.gz file if
    you want to save disk space.

I extracted it to ~/Software/Java, if that makes any difference.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to