![]() |
java 1.4.2 vs 1.5 Hi all, I am runninng LimeWire under Fedora Core 4. Java 1.5 is installed: Code: $ rpm -q jre Code: $ /usr/java/jre1.5.0_04/bin/java -jar LimeWire.jar & |
Uninstalling the old java would probably be the easiest thing... What does 'which java' say? What does 'echo $PATH' say? There should be an entry in there for 1.5. |
[QUOTE]Originally posted by limewire Uninstalling the old java would probably be the easiest thing... Quote:
/usr/bin/java Quote:
/opt/jre1.5.0_04/bin:/usr/kerberos/bin:/opt/jre1.5.0_04/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/colin/bin:/sbin:/usr/sbin:/home/colin/bin Grrrr, I don't know where these redundancies are coming from... |
Why is /opt/jre1.5.0_04/bin in your path if /usr/java/jre1.5.0_04/bin/java is what you need (according to your first post)? Change that and you should be set /usr/bin/java is probably a link to 1.4. The redundancy is probably because you have similar entries in /etc/profile and ~/.bash_profile or similar. |
I am having trouble determing who or what is adding this to my path: /opt/jre1.5.0_04/bin I don't see it in either ~/.bash_profile or /etc/profile Is there anything else that could set it? |
Either ~/.bashrc or an init script in /etc/init.d is all I can think of... |
Quote:
#!/bin/sh - set -a cd /.../limewire/gui JAVA_HOME=/usr/java PATH=${JAVA_HOME}/bin:${PATH} CLASSPATH=... PATH=${PATH}:../lib/native java ... Replacing the (...) with your installation's path. |
All times are GMT -7. The time now is 05:44 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.