|
Getting Java Runtime To Run
I'm not sure why it's not working for me, but the last time I installed Sun's Java Runtime, everything went smooth. Now, it's being kind of weird. Let me explain.
I first went with the RPM, then the .bin full of all the files. Either way they did the same thing. They extracted the files to /usr/java/j2re1.4.2_04/ and they all seem to work. You can cd into bin/ of that folder, and do ./java and that runs. Just typing java in a bash just gives you the -bash: java: command not found output. What I need to know is, how do I get /usr/java/j2re1.4.2_04/bin/ to be somehow added to files that can be ran as the binary name (java instead of /usr/java/j2re1.4.2_04/bin/java). I already tried simply copying java to /bin/, which I figured wouldn't work due to dependencies, and it diddn't.
So I either need to move all these files somehow to a relavent path, or do a link to it. Not exactly sure what to do.
Thanks,
-Tsu
|