i'm new to linux and i was trying to install the java JDK with EE on ubuntu. I downloaded the .bin file (java_ ee_ sdk-5_08-jdk-6u17-linux.bin) from the sun site & followed the install instructions below (as root user instructions are from the sun website):
-
Download and check the download file size to ensure that you have downloaded the full, uncorrupted software bundle.
- Make sure that execute permissions are set on the self-extracting binary.
Run these command:
chmod +x java_ ee_ sdk-5_08-jdk-6u17-linux.bin- Change directory to the location where you would like the files to be installed.
The next step installs the JDK into the current directory.
- Run the self-extracting binary.
Execute the downloaded file, prepended by the path to it. For example, if the file is in the current directory, prepend it with "./" (necessary if "." is not in the PATH environment variable):
./java_ ee_ sdk-5_08-jdk-6u17-linux.bin
I always get an 'No such file or directory'-error, i'm certain the path is correct & i'm not sure what else could be wrong…
I'm running a 64-bit version of Ubuntu 9.10 in Vmware workstation 8.5
Thanks
Best Answer
Try typing
java
then pressing tab, it will type the rest for you to ensure there is no mistake. Although to install Java, you're doing it the hard way. You can use:where XX is the current version number in the repositories, likely current. Although I'd recommend the following command:
I'd suggest running this on any new Ubuntu machine that you intend to use as a desktop, it installs a bunch of stuff for:
the actual packages installed:
Although keep in mind the legal issues regarding patents.