On Monday 19 January 2004 02:45, Trey Sizemore wrote:
On Sun, 2004-01-18 at 20:09, Anders Johansson wrote:
After you create the link I mentioned you'll need to log out and back in to get the updated PATH
Tried that and still getting the same message. I made a mistake in my earlier post with the path. Should have been /usr/java/j2sdk1.4.2_03 (underscore 03 vs. dash 03). I fixed this in the symbolic link command that was given and tried again, but no avail.
Perhaps that path is wrong...maybe /usr/java/j2sdk1.4.2_03/jre/bin or /usr/java/j2sdk1.4.2_03/jre/lib?
The directory you link to needs to contain a subdirectory called bin and in the bin directory there needs to be a binary called java (or jre). So if you have directory /usr/java/foo/bin/java then you link to /usr/java/foo. If you have /usr/java/foo/jre/bin/java (like I do) then you link to /usr/java/foo/jre