LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   j2re issues [[newbie]] (https://www.linuxquestions.org/questions/linux-newbie-8/j2re-issues-%5B%5Bnewbie%5D%5D-359998/)

TehFlyingDutchman 09-04-2005 12:26 AM

j2re issues [[newbie]]
 
First of all please forgive me for my being a :newbie: . I used windows, and I started to hate windows more and more the closer I got to it and by the end of the first month with my first powerful computer the login time and sheer ugliness of 2k (couldn't afford the sleek XP and got some 2k action for free) made me switch to dual boot with Mandrake 10.1.(I still do gaming and everything I can't do on linux on windows at least for now).

I'm still getting used to how linux works so....yea....onto my issue.

I'm trying to install limewire. As I said I'm relatively new to linux but picking it up quick. If limewire is crap I'm more than happy to try something else so if somebody has a suggestion throw it out at me.

Right well I went for limewire because I figured with it's using Java that distro compatability issues wouldn't cause me headaches. First thing I did was try a couple of search terms with RPMdrake and found that there wasn't a j2re in the repositories so assumed it was already installed. WRONG! It's not..or at least the Limewire install's pretty sure it isn't.

So I hit the LQ search tool and found that this issue's pretty common. What ISN'T common is that nobody can find it. Everybody else seems to be able to but me :*(.

Am I missing a big peice of the puzzle here? Or is it a small one? Because I searched the Java site for a good while and found nothing but a bunch of notes on how to install the rpm that I could not, for the life of me, find a download link to on the site.

I'd really appreciate some help and I'm really sorry if this was a waste of a thread because I searched wrong. Basically I'd like a link to either a repository for 10.1 with j2re or a download for a Mandrake 10.1 compatable rpm file online. Again thanks for any help you can give me :)

otoomet 09-04-2005 02:52 AM

Have you tried SUN's site

http://java.sun.com/j2se/1.5.0/download.jsp

They have a rpm available under "Download JRE 5.0 Update 4". I believe it works on Mandrake too. Otherwise, you can just grab .bin version and extract it somewhere (e.g. /usr/share/java).

Perhaps it helps,
Ott

kencaz 09-04-2005 03:13 AM

Like "otoomet" has stated, have you downloaded the JRE...?

Here is an example of how I installed LimeWire when I had problems because of the path to JRE:

From Kmenu:
System >> Configuration >> Configure Your Desktop

under:
WebBrowsing >> Jave & JavaScript

Enable Jave Globaly is checked

Path to Executable or Java:
/usr/java/jre1.5.0_02/bin/java

KC

TehFlyingDutchman 09-05-2005 04:43 PM

Okay so I dowloaded the RPM from the Sun site (Thanks ootomet) but it's not working and I'm confused as to how to do what you said
Quote:

you can just grab .bin version and extract it somewhere (e.g. /usr/share/java).
Extract it with what? How? Is it a console command?

I'm lost again:scratch:

iggep 09-05-2005 04:48 PM

open a console window. If you're not already root, then type su and enter your password. Then type the following

rpm -ivh /pathtoj2re.rpm

You'll see activity and the rpm will install. Check out "Linux in a Nutshell" at your local bookseller for an invaluable desktop tool.

otoomet 09-09-2005 02:11 AM

.bin version is (AFAIR) a console command (self-extracting archinve). However, you need probably to set suitable permissions:

Code:

cd /dir/where/you/downlaoded/it
chmod 755 j2re.bin # or whatever is it's name
su
> password:*****
./j2re.bin

You have to accept the licence and to specify the directory to install to (the default should be OK). You perhaps need to add some links to /usr/bin, it is long time since I tried it.

Let us know if you have problems.

Best,
Ott


All times are GMT -5. The time now is 08:03 AM.