Originally posted by nr5
or you could link the java binaries to ones in /usr/local/bin
How is that done?
ln -s /javabinarypathandfilename /usr/local/bin/javabinaryfilename
I have noticed that trying to do this with a couple of java programs gives errors about missing files so you might have to make a shell script for each individual file
to do this open a text editor and type the full file path (ex. /usr/bin/javac) save the file as /usr/local/bin/progname
and give it 755 permissions.
Try the first way, and if it doesn't work right changing you path might be easier, but it's up to you whatever you decide to do.