I have installed java but I could not get any java command to work! Below shows what I get when I try to run java commands:
sultan@ubuntu:~$ java The program 'java' can be found in the following packages: * default-jre * gcj-4.6-jre-headless * openjdk-6-jre-headless * gcj-4.5-jre-headless * openjdk-7-jre-headless Try: sudo apt-get install <selected package> sultan@ubuntu:~$ sudo apt-get install openjdk-7-jre [sudo] password for sultan: Reading package lists... Done Building dependency tree Reading state information... Done openjdk-7-jre is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Any help is deeply appreciated.