LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2004, 07:29 PM   #1
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Rep: Reputation: 30
Limeware and Java Nightmare


I have been trying to get Limeware installed. When I try to install it it tells me that VM is not installed, so I go to a Java site and install a version of rpm VM. When I install it it tells me that it has installed, so I try to install Limeware and get the same error message again.
I know that it is me not doing something that I should do, but why can't most Linux programs just install in a GUI and then run from text mode. Don't get me wrong I am a big fan of Linux and love its reliability but for a non guru like myself, it is a burden to get things to work when you download a package and you have to run a hundred shells to get it to do what you want it to do.
Would it not be nice to go to one of the networking file transfer programs and to be able to get as many mps3 as you would on kazza on an ms box. Why can't a Linux distro just fork out a bit to get winex and kazaa light preinstalled with it and I would buy it, as would most former ms box users. But I am not going to pay for WineX and Kazza Light.
If Linux took the market from MS then would not more viruses and trojans be written for Linux, making windows a draughts board to recompile and Linux a chess board to recompile?
 
Old 05-07-2004, 07:43 PM   #2
xedios
Member
 
Registered: May 2004
Location: SLO
Distribution: RH9
Posts: 70

Rep: Reputation: 15
If you wish to download mp3


you cn use edonke2000 the instalation is very simple and it has a user interface
 
Old 05-07-2004, 07:53 PM   #3
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
Hi HadesThunder!

Try putting this thread into the form of a question . I will make you a quick tutorial to follow. Please note, I never used JRE, but I do, use JavaSDK and they should be similar for running java applications...

1 - Download JRE here:

https://jsecom16b.sun.com/ECom/EComA...89188b9b5429f5

don't get the rpm.bin, get only bin (j2re-1_4_2_04-linux-i586.bin, 13.52 MB).

2 - As root, move the file to /usr/local and run the executable:

Quote:
mv j2re-1_4_2_04-linux-i586.bin /usr/local
cd /usr/local
./j2re-1_4_2_04-linux-i586.bin
A directory will be created at /usr/local (possible j2re1.4 or something). If everything went ok, Java is installed, but you won't be able to run java yet, because there's no executable at your PATH. Now you could either add it to the PATH or create a symlink to your /usr/bin. I will stick with the second, since you will not be using all Java SDK fancy things as javac, java and applet viewer. So, do:

Quote:
ln -s /usr/local/<your java installed/bin/java /usr/bin/java
Now, type at the terminal:

java -version.

If you get something like this:

Quote:
java version "1.4.2_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)
Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)
Congratulations, java is installed.

3 - Now, let's get that limeware. Download this one:

http://www3.limewire.com/download/LimeWireLinux.bin

you should remember how to run it, simply do:

./LimeWire.bin

Everything should be going just fine now... If it does not, let me know. Now, just in case you also want to install Java plugin to your browser, proceed reading, otherwise ignore it:

4 - Installing Java plugin:

Easy, all you've to to is to create a symlink, here is an example:
Quote:
ln -s /usr/local/<your JRE path>/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/firefox/plugins
That is, indeed, assuming that you are using firefox and that the path is as in the example above. Otherwise, just change the paths .


A final and side note: Java is my programming language of choice. It's portable and in the future, it could become a very powerful, if not the most important tool for Linux fixing at once all those dependencies to get a simple graphical interface working, plus, making Linux more user friendly. If you can get JRE working and installing Limeware, you will understand exactly what I mean. Since the installer to the execution of Limeware, everything is very easy and user friendly. Some progress are being done with gcj and Class Path. Keep an eye open at Java .


Good luck!

Last edited by Mega Man X; 08-30-2004 at 02:18 AM.
 
Old 05-08-2004, 08:43 AM   #4
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
"A directory will be created at /usr/local (possible j2re1.4 or something). If everything went ok, Java is installed"

I followed instructions and a directory /usr/local/j2re1.4.2_04 was made but when I try

ln -s /usr/local/j2re1.4.2_04/bin/java /usr/bin/java

I get a ln: invalid option -- /. I created a symlink to /usr/local/j2re1.4.2_04 in the /bin directory but typing java -version gives me a command not found in both directories.
 
Old 05-08-2004, 09:09 AM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
That's just odd . Check to see if you actually have a "java" file inside your /usr/local/j2re1.4.2_04/bin. If you do, try running it with:

Code:
cd /usr/local/j2re1.4.2_04/bin/
./java -version
to make sure Java is installed correctly at least. Now why your "ln" doesn't work, is way beyond me .
 
Old 05-08-2004, 10:48 AM   #6
grcunningham
Member
 
Registered: Apr 2004
Location: Florida
Distribution: RedHat 9.0/Afterstep
Posts: 103

Rep: Reputation: 15
i had the same problem with limewire, and got the answer
here on linuxquestions...if you had searched this site for
limewire java
you would have found the same thread...
to solve this, all you have to do is add your java bin directory
to your path, like so
PATH=$PATH:/path to java binaries
i just reinstalled a new distro, so i dont have jre on here yet,
so i cant tell you the exact directory.
if you want this added to your path permanently, add the command
to your ~/.bashrc file
 
Old 05-08-2004, 05:45 PM   #7
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
I have got that working, thanks Meganarn x. The first time I run Limewire though, it caused a crash. My Desktop just froze and although I could move the mouse around there was nothing I could open or close. But, ounce I rebooted the system it works well and has been running Limewire all evening.
 
Old 05-08-2004, 07:02 PM   #8
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
Thumbs up

Great!

Congratulations HadesThunder. I knew you would make it. I'm quite happy with Limewire, I've to say. So far for mp3's it's pretty fast to download and you can see peoples connection as well (modem, ADSL and so on).

I wish more programs were made in Java like that for Linux. I know, I know, it's slow, takes a while to open applications, but if you have JRE running well, no dependencies problems, no need to get an external front-end, easy to install. It just works

Thumbs up for java! . I guess? ...
 
Old 06-08-2004, 06:51 AM   #9
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Rep: Reputation: 15
I have followed all of these steps, but I am unable to get past the error saying that
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.

How do I do this? I do not have firefox browserm nor do I see a dir for my browser in the /usr/local location.
 
Old 06-08-2004, 07:21 AM   #10
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
Hi axess_denied!!!

If you've followed the third post, how far have you got? What does it say when you type:

Code:
java -version
at the console?
 
Old 06-08-2004, 07:41 AM   #11
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Rep: Reputation: 15
This is what I get -
/usr/bin/java
bash: cd : java: No such file or directory
[root@localhost bin]#
BUT when I am in
/usr/local/
I get
java version "1.4.2_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)

I read your post MegamanX about symlinking the plugin to /usr/local.firefox/plugins but I have no directory similar to that. Where should I link the plugings for the java stuff?
 
Old 06-08-2004, 08:14 AM   #12
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
Hmmm, lemme see.... You are trying to install the plugin to Mozilla (to be able to see Java pages) or Limewire? If it's Limewire, the plugin is irrelevant for you. What you are interested to find is "java" executable. You said that when you type "java" from /usr/local, so I guess that "java executable" is also at /usr/local.

To make sure if it's there, type:

ls /usr/local

If you see "java" listed there, then good. You've to create a link from there then:

Code:
ln -s /usr/local/java /usr/bin/java
You've to be root for doing that. If everything went ok, re-run Limewire installer and see how it goes
 
Old 06-08-2004, 08:17 AM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
If "java" is not there, then try:

Code:
slocate java
If you get any error message regarding the database not up-to-date, update it now:

Code:
updatedb
Then use "slocate java" again. slocate will go through all your files and return where "java" is located. Then it's just a matter to link (ln -s /whenever/java/is /usr/bin/java).
 
Old 06-08-2004, 08:25 AM   #14
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Rep: Reputation: 15
Did that...
When I run ls in /usr/bin I see a java listing, but it is in a red box with flashing white letters. Doesn't this mean broken link? If so, how do i get it to work
The java file is located in /usr/local/j2re*/java
and it is linked like you said to do it
ln -s blah blah, but it doesn't work???
 
Old 06-08-2004, 03:06 PM   #15
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337

Rep: Reputation: 65
Hmmmm, remove the link and try creating a new one:

rm -rf /usr/bin/java
ln -s /usr/local/j2re*/java /usr/bin/java

Side note though: Java is the champion of the champions of broken downloads and installation. If this still fails, there might be a good chance that java is wrongly installed (it's not your fault, it's Sun's ). I'd recommend deleting /usr/bin/java and /usr/local/jre/java and starting fresh from post number 3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD 5.3: java installation nightmare kpachopoulos *BSD 6 12-21-2004 08:21 PM
Java Plug-in Nightmare... kaz4u2dig Linux - Newbie 1 10-19-2004 02:05 AM
Problems instaling Limeware. What is a VM? Draylath Linux - Newbie 5 06-03-2004 10:11 AM
My Mozilla/Java nightmare... TippyToes Linux - Software 4 01-07-2004 07:22 PM
limeware Synth218 Linux - Software 1 05-26-2003 10:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration