View Single Post
  #2 (permalink)  
Old May 11th, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Thumbs up BlackDown RPM Install

+++++++++++++++++++++
BEGIN BLACKDOWN METHOD
+++++++++++++++1+++++

I get this when I do:

java -version

<output>
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-02b-FCS)
Java HotSpot(TM) Client VM (build Blackdown-1.3.1_02b-FCS, mixed mode)
</output>

Make the appropriate changes depending on where you installed your java installation whether it be sdk or jre:

I put where I downloaded my j2sdk1.3.1-02b-FCS:

/usr/lib/j2sdk1.3.1

You can find your path by typing this command:

which -b java

into my PATH in my .bash_profile:

(Using vi, a linux editor like windows "edit" program, type:

vi .bash_profile

press "i" (eye) to insert/edit/add the following.)


export JAVA_HOME=/usr/lib/j2sdk1.3.1
export PATH=$JAVA_HOME/bin:$PATH

(Hit "Esc" to end editing. Then type:
:wq
to save and quit).

Next type in your terminal or console to activate these changes and use them now in your current session:

souce .bash_profile

Otherwise, you might have to logout then back in to accept these changes.

If you are in a graphical environment using KDE, Gnome, blackbox, etc use kate, kwrite, or gedit instead.

After doing that, I remove kaffe from my system but I have a dependency problem with my wizard packages. I do this command to keep that program around:

rpm -e kaffe --nodeps

This removes all instances of kaffe binaries from /usr/bin.

**Special Note**

rpm -e jdkgcj --nodeps

for those whom have this package installed on their system.
**End Special

I next create soft links to the /usr/bin directory but blackdown has most of all of it's java commands (ie java, javac, etc) as symbolic links. Some people´s configuration will not allow that many symlinks (That is a softlink pointing to another softlink)
the symlinks point to a "hidden" file called .java_wrapper. So I link this to my /usr/bin directory like so:

ln -s /usr/lib/j2sdk1.3.1/bin/.java_wrapper /usr/bin/java

After doing that, I execute the LImeWireLinux.bin installer (do this as a regular user and not root. I don't know a way to install it system wide as root yet without making a script.):

./LimeWireLinux.bin

Installation works. Program installed, running, and functional. I discovered that I had to install the program as user instead of trying to set it systemwide as root.

</snip>

Please let me know by leaving a comment or anything if you have any problems with my solution.

++++++++++++++++++++
END BLACKDOWN METHOD
++++++++++++++++++++

Last edited by nDiScReEt; October 19th, 2003 at 01:47 AM.
Reply With Quote