Installing Java in Slax
Completely new to linux, I decided to finally give it a try last night and made a Live USB for Slax. It booted up quickly, pretty much everything worked right away, and after getting the Wifi working I decided to call it a night.
My project for today was attempting to install Java, but I haven't had much success. There are modules on the Slax site for this, but a. they are unverified and b. I want to delve into linux further than just downloading everything off a website. I downloaded the latest Java package for linux, which was a self-extracting .bin. I followed steps 1 through 4 here, but step 5 didn't work. I got the error message Quote:
In addition, a problem I haven't encountered yet but is foreseeable: In those instructions that I linked above for downloading and installing Java, the "Enable and Configure" section requires altering parts of the Firefox install directory. However, since this is Slax, Firefox is in a module. To do that part, do I have to use lzm2dir in order to get into Firefox's innerworkings, or what? Being new to Linux, I'm not really sure how to handle that part. |
I don't think you'll be able to use "rpm -Uvh" on Slax, but this http://www.slax.org/forum.php?action...parentID=11960 might help you
|
This is one way to install java, have to be root: get jre-6u20-linux-i586.bin from sun-java and copy to /usr and make sure it is executable.
Code: cd /usr sh jre-6u20-linux-i586.bin ln -sf /usr/jre1.6.0_20/bin/java /usr/bin/java |
All times are GMT -5. The time now is 05:06 PM. |