Click to See Complete Forum and Search --> : Help installing Java VM Please!


templest
08-31-2002, 08:45 AM
Grrr... I've tried installing Java around 12+ times and all the times it's not worked. :mad: Damnit! Freking java. And all of this trouble just for LimeWire. Help someone please. By the way. I have RedHat and am trying to install the .rpm version of it.

steventux
08-31-2002, 09:24 AM
Limewire requires the VM executable to be in your $PATH environment variable - dont be daunted by this. If you have a VM installed - whether the SDK or RE (software development kit - for java geeks or the Runtime Environment -simply for running java applications) the RE would do for Limewire I think - I use SDK but that contains RE.
Edit /etc/profile as root user - add the line PATH = $PATH:/path/to/your/Java/Runtime/Enviroment/'bin'/Directory

standard install for the SDK is /usr/local/j2sdkx.x/bin
(where x.x is the sdk version number)

make sure you add this above the line that says 'export PATH (blah blah blah)'
save and log out when you are ready.
when you log in the PATH variable will know the location of the VM and you should be able to run Limewire - the only mistake I can think i may have made above is that you either need the VM 'bin' directory in your path or the dir above (the installation dir) put both in if you like to save a bit of time and hassle should I be wrong - here's my /etc/profile addition line

PATH = $PATH:/usr/local/j2sdk1.4_01/:/usr/local/j2sdk1.4_01/bin:

hope that does you - I am by no means an expert but got Limewire running ok - one problem I have found with Limewire is doing huge searches - like putting in 'Elvis' to the search - it freezes maybe cos the java VM runs out of memory but more specific searches are fine and I really like the application all in all.
Hope this helps
Good Luck

steventux
08-31-2002, 09:28 AM
sorry - installing java should be simple with rpm - as root do rpm -ivh <your downloaded java VM rpm name>
watch where it installs to I think /usr/local is default then the instructions above should work - bit arse about face that sorry I should read the question before I attempt to answer it :D

templest
08-31-2002, 09:36 AM
Thx for the help. I'm downin' Some System of a Down right now :D

templest
08-31-2002, 10:14 AM
Nevermind...I spoke too soon, Where do I put that line, cuz I've tried everywhere in that file and it still doesn't recognize the the PATH.

mdwatts
08-31-2002, 11:04 AM
I may have mentioned this to you before, please do not crosspost your questions.

Once is enough in the most appropriate forum.

It also makes it a bit more fair to others that just post their questions once and patiently wait for someone to respond.

Everyone should get the same chance. No more and no less.

Thank-you for understanding.