./jre < whatever version of java you will want >/bin/java: not found.
~~~~~~~~~~~~~~~~~~~~~
I have found a solution just for you. First of all lets get the Java runtime enviroment downloaded for your desktop or computer at Java's site at this link here. http://www.java.com/en/download/manual.jsp?locale=en
See the linux downloads you can choose? Select the correct download for your workstation or laptop. I choose the x64 version since I know my workstation is a 64 bit machine.
After you get the correct version downloaded onto your desktop or folder of your choice, lets open up a terminal (CLI) command line interface.
Then grant your terminal "special" permissions by inputting the < sudo > command. If you get a permission denied after inputting this code below, try the < su > command or superuser command. You should try sudo first though, as superuser you can bork out your linux box quickly if you do not know what you are doing. YOU have been warned.
Code: Select all
sudo
Or, if a permissions denied running ANY of the commands below, lets do a
Code: Select all
su
~~~~~~~~~~~~~~~~~`
First lets make a folder for our java runtime environment to rest in. Online its suggested to rest that program in the /usr/bin/java for this purpose. So lets make a directory in our terminal for this purpose. The mkdir command in your terminal does this for you.
Code: Select all
mkdir /usr/bin/java
Code: Select all
cd /usr/bin/java
Next we will want to "extract" this java runtime environment into the /usr/bin/java folder by inputting the following commands.
Code: Select all
tar zxvf <whatever your java version is> tar.gz
Here is a tip if you do not like to type out your whole package name inside of the < brackets java version > above. Just input the tar zxvf into your terminal and drag and drop that java runtime environment that is still NOT extracted yet into your terminal. You will see the PATH variable pop up inside of it!
~~~~~~~~~~~~~~~~~
After you have ran that code you will see lines of code strolling inside of your terminal inside of the folder you just made. To check and make sure your plug in for the Java runtime enviroment is working correctly, check it at this link here. http://www.java.com/en/download/testjava.jsp
~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~
NOTE for Opera browser users. If you get an error still not running the java plug in correctly try these solutions.
You will need to create what is called a "symbolic" link to your < libnpjp2.so > that was downloaded into your directory for your java runtime environment.
To find your directory path type in this command in your terminal.
Code: Select all
find / -name libnpjp2.so 2>/dev/null
Lets do a:
Code: Select all
ln -s <whatever directory libnpjp2.so is located at >
Code: Select all
ln -s '/usr/bin/java/jre1.7.0_11/lib/amd64/libnpjp2.so'
Restart Opera and go into the menu options now. Go to page >> developer tools >> plugins and see if "java plug in' is listed. If not refresh.
Also check the settings for your path variable in the menu options for Opera by going into settings >> preferences >> advanced tab >> content. Make sure enable plug ins is checkedmarked in there. Hit the "plug in options" button in there and also the "find new" button. It should list your plugin in that setting also.
Do not forget to go back and refresh the page >> developer tools >> plugins page afterwards yet again to get it up and running.
If everything went well check here and see if you NOW got java plugin enabled correctly for Opera Linux. http://www.java.com/en/download/testjava.jsp
~~~~~~~~~~~~~~~~~~~~~~~~~~~
I hope this guide helps those new to linux and learning how to operate linux.