![]() Unpack the compressed Java binaries to the directory sudo tar xvzf jdk-7u75-linux-圆4.tar.gz -C sudo tar xvzf jdk-8u40-linux-圆4.tar.gz -C ls -l /usr/local/javaĭrwxr-xr-x 8 uucp 143 4096 Dec 18 17:04 jdk1.7.0_75ĭrwxr-xr-x 8 uucp 143 4096 Feb 10 21:42 Edit the system PATH file /etc/profile and add the following system variables to your system path.Make sure you select the correct compressed binaries for your system architecture 32-bit or 64-bit. Lrwxrwxrwx 1 root root 9 Mar 8 01:56 man -> share/manĭrwxr-xr-x 2 root root 4096 Download the Oracle Java JDK/JRE for Linux, you can find here. Create a directory to hold your Oracle Java JDK/JRE sudo mkdir -p /usr/local/javaĭrwxr-xr-x 2 root root 4096 Mar 8 05:44 java.If you have Java installed on your system, remove the OpenJDK/JRE with the following command. OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode) OpenJDK Runtime Environment (IcedTea6 1.10pre) (7b15~pre1-0lucid1) Try: sudo apt-get install you have Java installed on your system, the command should return like this, for Ubuntu default Java is OpenJDK. ![]() The program 'java' can be found in the following packages: sbin/init: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID=7a4c688d009fc1f06ffc692f5f42ab09e68582b2, Check if you have Java installed on your system. ![]() Open up a terminal and run the following command file /sbin/init
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |