Results 1 to 6 of 6
Hi,
I'm fairly new to LINUX. I've downloaded the updated version of Java JDK. It's on y desktop has a ".bin".
How do I install/execute a .bin (self extracting file). ...
- 06-15-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 22
Installing JAVA
Hi,
I'm fairly new to LINUX. I've downloaded the updated version of Java JDK. It's on y desktop has a ".bin".
How do I install/execute a .bin (self extracting file). I've tried clicking on it, but Kwrite opens the file as a document
.
Please Help,
Marc.
- 06-15-2007 #2
- 06-15-2007 #3
You will need to open up a console and manualy execute the file.
So open up the console and do:
If the file comes with no execution rights set, do:cd <directory where your .bin file lives>
./<the name of your bin file>
and then execute it.chmod +x <name of your bin file>
And don't forget to TAB complete!
- 06-18-2007 #4Just Joined!
- Join Date
- Jun 2007
- Posts
- 22
Thanks Nautilus,
Now that I installed it, how do I run the Runtime JAVA?
Marc.
- 06-19-2007 #5
It is in the bin directory, at the directory you have installed it. Just:
cd <the directory you have installed your java>/bin/
./java
I would suggest to add to your .bshrc or profile the following if you haven't done already:
Like this whenever you get a new shell, you will have the java binaries (executables) in your path, so a simple:export JAVA_HOME=<the directory you have installed your java>
export PATH=$PATH:<the directory you have installed your java>/bin/
will do the job from whichever directory you are in, and also other programs that might need java, will know where it is installed.java
- 06-19-2007 #6Just Joined!
- Join Date
- Jun 2007
- Posts
- 22
Thanks a bunch Nautilus !


Reply With Quote

