On Sun, Jan 10, 2010 at 11:11 AM, alan alan <[email protected]> wrote:
> Hi, > > I installed JDK as per this page:- > http://java.sun.com/docs/books/tutorial/getStarted/cupojava/unix.html > > downloaded the jdk file, copied it to /home folder & then installed by > changing the file mode and executing it. But now the problem is when I run > java programs form terminal( javac <program name>), an error message is > showing up:- > > " The program 'javac' can be found in the following packages: > * openjdk-6-jdk > * ecj > * gcj-4.4-jdk > * gcj-4.3 > * jikes-classpath > * jikes-kaffe > * kaffe > * sun-java6-jdk > Try: sudo apt-get install <selected package> > javac: command not found > " > > What's wrong? Anyone help me. > > Did you try adding 'javac' to $PATH ? $ export PATH=$PATH:<path-to-jdk>/bin/javac Nishan
-- "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups "ilug-tvm" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For details visit the website: www.ilug-tvm.org or the google group page: http://groups.google.com/group/ilug-tvm?hl=en
