Possible Duplicate:
How to install the Sun Java JDK?
Hi all,recently i installed ubuntu in virual box inside the a windows os,but i'm unable to install the jdk in that ubuntu,can any one help me out?
Possible Duplicate:
How to install the Sun Java JDK?
Hi all,recently i installed ubuntu in virual box inside the a windows os,but i'm unable to install the jdk in that ubuntu,can any one help me out?
sudo apt-get install openjdk-6-jdk
type java
and follow the instructions
Run sudo synaptic
, search for sun java
, mark it for installation, and click Apply.
PATH=$PATH:/home/user/path/to/executable
here path to jdk/bin
/etc/environment