Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing java on fedora 3

Status
Not open for further replies.

ArmenD

Programmer
Feb 3, 2005
101
US
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.

 
here is how i removed it
*********************************
Removed all java related packages that pre-installed in Fedora Core 3
1. java 1.4.2
# rpm -qa | grep java
the output of the above command:
java-1.4.2-gcj-compat-devel-1.4.2.0-11jpp
compat-gcc-java-8-3.3.4.2
gcc-java-3.4.2-6.fc3
java-1.4.2-gcj-compat-1.4.2.0-11jppa

Removed the packages from FC3
# rpm -e --nodeps java-1.4.2-gcj-compat-devel-1.4.2.0-11jpp
# rpm -e --nodeps compat-gcc-java-8-3.3.4.2
# rpm -e --nodeps gcc-java-3.4.2-6.fc3
# rpm -e --nodeps java-1.4.2-gcj-compat-1.4.2.0-11jppa

2. libgcj
# rpm -qa | grep libgcj
the output of the above command:
compat-libgcj-8-3.3.4.2
libgcj-devel-3.4.2-6.fc3
libgcj-3.4.2-6.fc3
compat-libgcj-devel-8-3.3.4.2

Removed the packages from FC3
# rpm -e --nodeps compat-libgcj-8-3.3.4.2
# rpm -e --nodeps libgcj-devel-3.4.2-6.fc3
# rpm -e --nodeps libgcj-3.4.2-6.fc3
# rpm -e --nodeps compat-libgcj-devel-8-3.3.4.2

3. jpackage-utils
# rpm -qa | grep jpackage-utils
the output of the above command:
jpackage-utils-1.5.38-1jpp_3rh

Removed the packages from FC3
# rpm -e --nodeps jpackage-utils-1.5.38-1jpp_3rh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top