![]() ![]() JDK_TARBALL_VERSION=8u$Įcho "Checking: alternatives on java and javac" ![]() I've also set up /opt so that it is owned by me, otherwise you need to use sudo for the untarring of the. I downloaded the latest tarball jdk-8u162-linux-圆4.tar.gz into a subdirectory. ![]() The best way to do this is to use update alternatives not using JAVA_HOME. I'd rather handle that as a separate question/post. I ran into some trouble there in that I wasn't able to apt-get update because of some 404 errors. Is there a step I'm missing? Does it need to be added to my $PATH?Įdit: I'm aware I could probably install java with sudo apt-get install. The program 'java' can be found in the following packages:Įven setting $JAVA_HOME as that directory didn't work. Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)īut I can't call it standalone > java -version Java(TM) SE Runtime Environment (build 1.8.0_45-b14) The binary itself works, because I can call it using the absolute path > /usr/local/java/jdk1.8.0_45/bin/java -version Īnd unpack it sudo tar zxvf jdk-8u45-linux-圆4.tar.gz Sudo mv ~/Downloads/jdk-8u45-linux-圆4.tar.gz. Oracle hosts a page on how to install Java 1.8 from the binaryĭownload the 圆4 tar.gz on the Oracle Downloads page.Ĭreate my directory and move the file there sudo mkdir /usr/local/java ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |