hiltops.blogg.se

Download java for ubuntu
Download java for ubuntu









download java for ubuntu
  1. Download java for ubuntu install#
  2. Download java for ubuntu download#

What are all those gcj-xxx-headless targets?!? Is Java 1.6.0_23 even installed on my machine? I think on Ubuntu that's /etc/environment or /etc/profile or something like that.

download java for ubuntu

If you want to use the java binary on command line, you'd have to manually set up the PATH and JAVA_HOME environment variables. I know this is something you don't often do on Linux machines.

Download java for ubuntu install#

The bin you downloaded is imho more flexible, since I can use it to install multiple verisons of Java on the same system. In case you wanted system integration, you would be better off to use the distribution-specific packages, such as the one installed via aptitude install sun-java6-jdk or alike. In case you wanted to install a separate JDK, you did it correctly.

Download java for ubuntu download#

I usually download the JDK and execute it from within my home folder and afterwards move it to /opt and performing an chown. It does not install the java binaries into system folders like /bin. The bin file you downloaded is not an installer, but merely an extractor. Many Java developers install multiple JDK installations and always use /opt/jdk1.6.0_23 or similar paths. Was I wrong to try and make /opt/java my Java directory? (4) What are all those gcj-xxx-headless targets?!?! (3) Is Java 1.6.0_23 even installed on my machine? (1) Was I wrong to try and make /opt/java my Java directory? The program 'java' can be found in the following packages: Now, in my /opt/java directory I see both the BIN file and the jdk1.6.0_23 directory that seems to be intact upon inspection.īut, when I open a new terminal and run java -version, I get: I then ran the following 2 commands, per instruction I found online for running BINs: chmod +x jdk-6u23-linux-圆4.bin This defaulted to downloading to /home/myUserName/Downloads.įrom there I moved the file to /opt/java, which was a directory I created, because (as a Linux novice) that made sense to be the directory where Java should go. I downloaded the BIN file directly off Oracle's site (Java SE 6u23 for 64-bit Linux).

download java for ubuntu

This is my first time ever using any flavor of Linux and so I'm sure it's a user issue (permissions or otherwise). Trying to install Java (JDK 6) on my new Ubuntu system and getting some bizarro errors.











Download java for ubuntu