I don't think it's worth installing limewire, it's far from anything decent. For P2P I have found that gift is by far the one of the best there is. http://gift.sf.net
Of course, this really doesn't answer your question...
You'll actually need to install java, and then add it to your $PATH variable. Translation:
You should search the forums for limewire or java and path, you'll find a plethora of threads explaining how to do what I have said above. Afterwards, you'll have java, which has a virtual machine portion in it, in your path and things will be able to use it when needed. But I'd definitely move on from limewire, it's not worth the work it takes to install it.