LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   need help badly to install java (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-badly-to-install-java-701475/)

tim615 02-01-2009 02:31 PM

need help badly to install java
 
im trying to get java for ubuntu 8.1 and new to computering. when i try to install it says app. does not exist.and'dpkg --configure - a' can someone help

AlucardZero 02-01-2009 03:59 PM

As it says, run
Code:

dpkg --configure -a
as root.

And post the whole error message - do you want help or not?

knudfl 02-02-2009 03:47 AM

Welcome to LQ.

1) sudo dpkg --configure -a

2) sudo apt-get update

3) sudo apt-get install sun-java6-jre
for runtime java.

4) sudo apt-get install sun-java6-jdk
for developing > javac > compiling.

Good luck.
....


All times are GMT -5. The time now is 11:46 AM.