hi,
so i intially removed all java packages b/c since i wanted eclipse to work, i needed suns sdk version.
so i tried to follow the instructions on suns site and i got the following...
" package jre-1.5.0_02-fcs is already installed" for JRE
and
"package jdk-1.5.0_02-fcs is already installed" for SDK
but when i do something like
java -version
i get "bash: java: command not found"
i am confused, if it's installed then why can't java -version get the right output?
more importantly when i try to run eclipse, i get
"A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/home/armen/Desktop/eclipse/jre/bin/java
'java' in your current PATH"
can someone please help. i have been on this problem for a while now and i don't know who else to ask.
so i intially removed all java packages b/c since i wanted eclipse to work, i needed suns sdk version.
so i tried to follow the instructions on suns site and i got the following...
" package jre-1.5.0_02-fcs is already installed" for JRE
and
"package jdk-1.5.0_02-fcs is already installed" for SDK
but when i do something like
java -version
i get "bash: java: command not found"
i am confused, if it's installed then why can't java -version get the right output?
more importantly when i try to run eclipse, i get
"A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine
was found after searching the following locations:
/home/armen/Desktop/eclipse/jre/bin/java
'java' in your current PATH"
can someone please help. i have been on this problem for a while now and i don't know who else to ask.