Hello,
I have installed java into my system and I want to add it in the path variable. I used the command
PATH=/mydir/jdk1.6.0/bin/:$PATH
My problem is that kubuntu already has the java command, so when I write "java" it uses the default version and not the one I have installed.
What could I do to change that?
Thanks in advance!
I have installed java into my system and I want to add it in the path variable. I used the command
PATH=/mydir/jdk1.6.0/bin/:$PATH
My problem is that kubuntu already has the java command, so when I write "java" it uses the default version and not the one I have installed.
What could I do to change that?
Thanks in advance!
Comment