This question already has an answer here:
- How do I install Java? 11 answers
this is the output thrown when i typed java -version he program 'java' can be found in the following packages: * gcj-4.4-jre-headless * gcj-4.5-jre-headless * openjdk-6-jre-headless Try: sudo apt-get install
please suggest me an alternative to install java on my machine.