|
Rob
|
|
Post:
Dec 29th 2006 at 5:51 PM |
|
|
|
whenever i try to install tuxguitar 0.8 it gives an error - "The installer could not find a valid Java(tm) Runtime Environment in this machine." however, I have java 1.5.0.10 installed and it works with all of my other applications. I am running openSUSE 10.2.... anyone have any suggestions?
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Dec 29th 2006 at 8:36 PM |
|
|
Hi,
make sure java1.5 is at PATH... you can have more than 1 java installed in your system, but only 1 is at linux PATH... (some linux dists comes with GCJ as default)
type "java -version" in a console to see.
|
|
| Back to Top |
| |
|
Rob
|
|
Post:
Dec 29th 2006 at 9:55 PM |
|
|
|
hmm... ok so when i did java -version it showed up that i have 1.4.2 so... how can i get it to recognize 1.5?
|
|
| Back to Top |
| |
|
Julian
|
|
Post:
Dec 30th 2006 at 10:56 AM |
|
|
well,
you have the java 1.4 links at PATH (maybe /usr/bin)..
if you want have your java1.5 as default, you must replace the links...
Remove old links:
rm /usr/bin/jar
rm /usr/bin/java
# next links only if you have JDK
rm /usr/bin/javac
rm /usr/bin/javap
rm /usr/bin/javah
Make new links
ln -s JAVA_HOME/bin/jar /usr/bin/jar
ln -s JAVA_HOME/bin/java /usr/bin/java
# next links only if you have JDK
ln -s JAVA_HOME/bin/javac /usr/bin/javac
ln -s JAVA_HOME/bin/javap /usr/bin/javap
ln -s JAVA_HOME/bin/javah /usr/bin/javah
Do all of this as root user..
now you can type "java -version" to test..
Please, before do this, look at any suse forum...
maybe there is another way for opensuse..
(under ubuntu there is a "update-alternatives --config java" to make this work)
sorry my english..
|
|
| Back to Top |
| |
|
Hefeng
|
|
Post:
May 22nd 2007 at 5:10 AM |
|
|
Julian's answer is great!
maybe this is another method:
Remove old links:
unlink /usr/bin/jar
unlink /usr/bin/java
# next links only if you have JDK
unlink /usr/bin/javac
unlink /usr/bin/javap
unlink /usr/bin/javah
Make new links
ln -s JAVA_HOME/bin/jar /usr/bin/jar
ln -s JAVA_HOME/bin/java /usr/bin/java
# next links only if you have JDK
ln -s JAVA_HOME/bin/javac /usr/bin/javac
ln -s JAVA_HOME/bin/javap /usr/bin/javap
ln -s JAVA_HOME/bin/javah /usr/bin/javah
|
|
| Back to Top |
| |
|
hj
|
|
Post:
Nov 4th 2007 at 10:06 AM |
|
|
|
samething on windows xp
|
|
| Back to Top |
| |
|
discount louboutins
|
|
Post:
Apr 17th 2012 at 8:21 AM |
|
|
|
Don't be overwhelmed when shopping Christian Louboutin Pumps for women's high heel shoes, you don't have to be psychic to know which heels will be wearable. You must avoid the killer heels that rub in every direction and kill after 10 minutes. When some women buy these killer heels, they get turned off to all heels. There are different discount louboutins heels for different occasions. You can wear some dressier and daring heels with black slacks Christian Louboutin Slingbacks to work, under discount christian louboutin shoes flirty cheap christian louboutin skirts to a party, or even thrown under jeans for a trip to the mall. Always walk around the shoe store with both heels on before making Christian Louboutin Sneakers your decision. The heels that surprise you with their comfort are the heels that will last you in the office or on the dance floor. If you love them, get them
|
|
| Back to Top |
| |