Hey everyone.
I am not a very big fan of eclipse and Netbeans so I removed them.
But now when I want to compile a program I can't do it anymore because javac is missing.
I have jre and jdk installed in the following directory..
/usr/java
more specifically javac is located here /usr/java/jdk1.6.0_12/bin
So I know that jdk has javac but I don't know how to link to it.
What I am doing now is this.
Code:
/usr/java/jdk1.6.0_12/bin/javac main.java
Which is really annoying I want to be able to use my make file
I think it has to do with setting PATH in .bash_profile but I don't know the right stuff to put there.
I read the FAQ and
Code:
"sudo aptitude install sun-java6-jdk"
is not what I want.
Cheers - CC7
Bookmarks