![]() |
Redhat 7.1 Install Problem I have upgraded the latest version of the Java Runtime Environment. But still every time I type ./runlime.sh at the command prompt, I get this message: [root@localhost LimeWire]# ./runlime.sh Couldn't find or load essential class `java/lang/Object' java.lang.NoClassDefFoundError java/lang/Object ./runlime.sh: line 11: 1290 Aborted (core dumped) java -classpath . RunLime I love LimeWire in windows 2000, and I would really like to get it working. Any suggestions? Thanks Chris Lynch |
You have to be in the LimeWire directory when you issue the command. |
Sorry, ignore that, I see that you are in the right directory! I kept getting the same problem cos I was in the wrong dir. Could be java isn't properly installed... |
forget that jre crap install jdk1.2.1 and then put /usr/java/jdk1.3.1/bin in your path in .bash_profile should be in home dir. exit out of linux and come back in type java to see if its working and if it says java usage blha blah blah then try ./runlime or whatever and that should do it untill you get to my problem |
Install sun java jdk and it works like a champ. MC |
Am using kaffe instead of Java - having the same result. where can I get java jdk 1.3.1? |
Java |
Java JDK or J2RE or J2SE I too like Limewire in MS but not MS. I have had much pleasure seeing that I can do all things in Linux that are in MS. I am v happy Limewire is here as I prefer a GUI interface not having a UNIX education. I have downloaded Limewire. I have downloaded and installed J2RE. I looked up JDK this is a Java tool kit. Do I really need this too. When I install Limewire I get this: Limewire]# sh ./LimeWireLinux.bin Preparing to install... Error: Unrecognized JVM specific option `-Xmx50331648'. Error: Unrecognized JVM specific option `-Xms16777216'. Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Invocation of this Java Application has caused an ExceptionInInitializerError. This application will now exit. (LAX) Stack Trace: java.awt.AWTError: native layer initialization failed at java.lang.Throwable.fillInStackTrace(Throwable.jav a:native) at java.lang.Throwable.<init>(Throwable.java:38) at java.lang.Error.<init>(Error.java:21) at java.awt.AWTError.<init>(AWTError.java:22) at java.awt.Toolkit.<clinit>(Toolkit.java:118) at com.zerog.ia.installer.Main.main([DashoPro-V1.2-120198]:line unknown, pc 0x840e294) at java.lang.reflect.Method.invoke(Method.java:native ) at com.zerog.lax.LAX.launch([DashoPro-V1.2-120198]:line unknown, pc 0x82a29d6) at com.zerog.lax.LAX.main([DashoPro-V1.2-120198]:line unknown, pc 0x817c36f) GUI- My God What have I done?:eek: :confused: |
Required java (replying to rls) You only need the runtime environment (RE) to run java apps. From your errors and from what I've read in the 'A different RedHat install problem' from John Fox thread, I think the problem is that you've got Kaffe installed as well. Kaffe is an open source implementation of java that is (mostly) Java 1.1 compliant i.e. it implements an older version of Java. If you're on an rpm based system you can check if Kaffe is installed by opening a terminal and typing: rpm -q kaffe If it is installed, you can remove it by becoming the root user and typing: rpm -e kaffe If you really want to keep Kaffe for some reason, another solution is to put the java bin directory as the first directory to be searched in the PATH environment variable. |
Dear Twist, thanks. Bear with me a bit more I am close. I checked out the John Fox thread. I did not take up the Solaris install option. (Maybe I should). I am using a shell script not rpm of Limewire. ie LimewireLinux.bin Yes Kaffe was bumping in so I removed it. I still get no install. I gather this is probably because I need to get the right CLASSPATH. Here I need your help. I have JRE1.3.1_01 definitely installed at/usr/java/jre1.3.1_01. However when I do which java I get this: which java /usr/bin/which: no java in (/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/home/Raena/adabas/bin:/home/Raena/adabas/pgm:/usr/kerberos/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/local/bin:/opt/bin:/home/Raena/bin:/home/Raena/bin) No java? And when I do sh ./LimeWireLinux.bin I get this: sh ./LimeWireLinux.bin Preparing to install... No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. I was under the distinct impression that JRE 1.3.1_01 was a complete virtual machine for runtime java environment. So I guess I need to enter the right CLASSPATH. I have Limewire.bin installed in a directory I created at Home/Raena/Pgrmsh/Limewire. If you have any patience/pity for me can you assist? Thanks thus far. |
Dear Twist and Thread please ignore my last post. All is well and all manner of thing shall be well. I changed my .bash_profile to incorp usr/java/jre### as advised in this and other threads, I then logged out and then I checked java -version a and got jre### OK. After that sh ./LimeWireLinux.bin installed just fine in the Limewire directory. (I have not advanced to the sh.runlime class yet as per Twist hyperlink recommended install, as per the Fox thread) I had tried this before on two occasions and for the record of any other dummies like me reading this I made the following mistakes. 1. The first time I had not removed kaffe's java. ie rpm -e kaffe as per Twist advice on this thread 2. The second time after I had removed kaffe and changed the bash_profile path I had not logged off and back on! DUMB. But I am an utter newbie. (see Thread for Hypnos re JRE excute command and Twist advice ofcourse) Hope my incompetence is of some help to others and saves Twist from RSI of the thread. Oh, and re anyone else being confused about Java names as I was. JDK is the prior name for what is now J2SE. JRE is just the runtime environment stuff to run jave in and J2SE is JRE plus a set of tools and things for the Java genius. So ignore red herrings in this thread about JDK is all you need. It is JRE. Now I am off to p2p. |
still can't get it OK...I rem -e kaffe, so I get the 'no vm' error when I try to install limewire. I know that I'm supposed to designate a path to jre (mine's in /opt...It was the one on the Application disk in redhat 7.1--it says: IBMJava2-13). Well, I can't find this mysterious .bashrc or bash_profile thing in /home or anywhere. help? |
Install Problem Yes I could not find the bash_profile immediately. If you nominated a name for your home directory which you are asked to do when you install RH 7.1 you will have a home/name you gave directory. Look in there in a shell by using cd then las -al. You should see something like this: ls -al total 2028 drwxrwxr-x 34 Raena Raena 4096 Oct 16 20:27 . drwxr-xr-x 3 root root 4096 Jul 22 14:16 .. drwxrwxr-x 11 Raena Raena 4096 Aug 11 21:23 adabas drwxrwxr-x 2 Raena Raena 4096 Oct 7 01:58 autosave -rw------- 1 Raena Raena 7011 Oct 16 07:25 .bash_history -rw-r--r-- 1 Raena Raena 24 Jul 22 14:16 .bash_logout -rw-r--r-- 1 Raena Raena 250 Oct 4 00:14 .bash_profile -rw-rw-r-- 1 Raena Raena 225 Oct 3 21:52 .bash_profile.old -rw-rw-r-- 1 Raena Raena 225 Oct 3 21:58 .bash_profile.old1 -rw-r--r-- 1 Raena Raena 398 Oct 14 00:36 .bashrc drwx------ 2 Raena Raena 4096 Sep 1 17:55 .cddbslave ...and all your other directories and files.... Then type more .bash_profile This will let you just look inside the .bash_profile but you cannot edit in this mode, and you should see something like this more .bash_profile # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin BASH_ENV=$HOME/.bashrc export BASH_ENV PATH unset USERNAME Then using an editor (in KDE and GNOME there are lots including emacs. I think the simplest is Advanced editor in KDE for simple things like this) you can edit the .bash_profile PATH values by opening the editor then finding and opening the file .bash_profile and hacking away. Or, (and this is the more correct way to put JRE in your PATH,)in the .bash_profile is another .bashrc. If you type more .bashrc you will get soemthing like this: more .bashrc # .bashrc # User specific aliases and functions # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # by Sun Microsystems setup HOME=/home/Raena DBROOT=/home/Raena/adabas DBWORK=/home/Raena/adabas/sql DBCONFIG=/home/Raena/adabas/sql PATH=$DBROOT/bin:$DBROOT/pgm:$PATH LD_LIBRARY_PATH=$DBROOT/lib:$LD_LIBRARY_PATH export DBROOT DBWORK DBCONFIG PATH LD_LIBRARY_PATH In .bashrc you use your editor to edit the PATH to PATH=$DBROOT/bin:$DBROOT/pgm:/usr/java/jre1.3.1_01/bin:$PATH |
just about there Thank you rls... I used PICO to edit the PATH, but I still can't get limewire to find jre. Here's my path (well, I have tried many...): /opt/IBMJava2-13/jre/bin This is definitely where my little java piston thing is. so (I think!): PATH=$PATH:/opt/IBMJava2-13/jre/bin I've tried other variations, but no go. Any ideas? Thanks! |
Install Problem My guess is that your install of JRE went wrong. It should not be installed in opt it should be in usr/java/jre***/bin. I think you will have to remove JRE then re-install. If you installed an rpm of JRE type rpm -e jre***. Then re-intsall and follow the Sun README that is at the Sun download site - to the letter. You could try to rebuild the rpm without removing it. I have not tried this but according to Josh's GNU Linix Guide (jgo.local.net/LinuxGuide/) you can rebuild an rpm by using rpm --rebuild gimp-1.0.0-1.src.rpm. where you first downloaded the rpm. No idea if that will work but if it does it will be quicker. Maybe try it and if it fails then re-install from scratch. Someone checking this list might say if I am utterly wrong. Hope you get it this time. It is worth persevering LimeWire17 does work very well. I prefer it to BearShare.:cool: |
Installing Problems Re my last post please do not be confused where it says rpm --rebuild gimp-1.0.0-1.src.rpm The ref to gimp-1.0.0-1.src.rpm should ofcourse be to your JRE***.rpm. I copied the command example staright from Josh's GNU Linux Guide (apologies and thanks also to Josh).:D |
thanks for help rls Thanks for the help--this is an instance where forums came through... As it turns out, I don't think that IBMJava2-1.3 will work with limewire. This might be important info for users who install the IBM jre from the redhat 7.1 app-disk. Anyway, I used sun's jre and, wammo! success... Question off-topic: is there any way to view limewire upload stats to see number of total uploads and names of files uploaded? |
All times are GMT -7. The time now is 03:49 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.