Problem with Java-SDK
I use Suse 9.1 and I've installed the Java-SDK with the Suse Linux-CD. But when I use the command javac for compiling a java-file, the bash doesn't find the command. What have I done wrong?:scratch:
Thanks for your help!
Hello and welcome to Linuxquestions!
Try the hole path to javac
Now each time you open a terminal it should see javac in your path.
boby is correct, you need to set the path in /etc/bashrc or /etc/profile. But I'd put the path to the "bin" directory that contains javac, since that directory also contains java, jar... you might need those later.
|All times are GMT -5. The time now is 07:54 AM.|