Thread: Installing Java
View Single Post
  #18 (permalink)  
Old October 19th, 2003
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: please bare with me.....retarded newb

Quote:
Originally posted by ga1ahad83
ok, im sorry for my lack of understanding on how to do this. i have installed the vm, but limewire installer wont reconize the vm. i am running mandrake 9.1 and my profile looks like this......

/*
# /etc/profile -*- Mode: shell-script -*-
# (c) MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>

loginsh=1

JAVA_HOME=/usr/java/j2re1.4.0_01
PATH=$JAVA_HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/pyriel/bin
export JAVA_HOME

You are almost there. The only problem in your /etc/profile entry is that you followed our examples to the letter. What I mean by that is more than likely you have an upgraded java VM then our example's java VM. So, I doubt you installed j2re-1.4.0 onto your system. Run this command on the command line:

rpm -ql j2re|more

It should show your current (and more updated) java VM path as /usr/java/j2re1.4.2_01 or something to that extent.

Put the updated path into your /etc/profile or ~/.bash_profile like so (Just an example. Your mileage may vary):

<snip>
JAVA_HOME=/usr/java/j2re1.4.2_01
PATH=$JAVA_HOME/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/pyriel/bin

export JAVA_HOME
<snip>

HTH

altoine

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