problem with install su jdk-7u1 in ubuntu
        Posted  
        
            by 
                Fathima
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by Fathima
        
        
        
        Published on 2012-06-23T14:38:46Z
        Indexed on 
            2012/06/23
            15:22 UTC
        
        
        Read the original article
        Hit count: 314
        
installation
|jdk
I finished some steps of installation of jdk-7u1 in Ubuntu 1.11 until below steps. after that step the terminal tells that there is nothing to configure. after that when I run a java file the terminal said that usr/lib/jvm/java : no such a file or directory.
 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7
        © Ask Ubuntu or respective owner