rpm -ev libgcj-3.2.2-5 libgcj-devel-3.2.2-5 gcc-java-3.2.2-5 On Wed, 2003-06-25 at 06:52, rebel student wrote: > hi, > > I have to use an application. For that application I > need Suns java 1.3.1. I have downloaded java 1.3.1 > from the java.sun.com for Linux and have set up my > JAVA_HOME environment correctly. i.e. > JAVA_HOME=/usr/local/jdk1.3.1_08 > and have added PATH=$PATH:$JAVA_HOME/bin > export JAVA_HOME > However, when I open a new shell and type java > -version in that it gives > > java version "1.3.1" > jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj) > gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5) > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying > conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR > A PARTICULAR PURPOSE. > > However, if I go to /usr/local/jdk1.3.1_08/bin and > type java -version I get > > java version "1.3.1_08" > Java(TM) 2 Runtime Environment, Standard Edition > (build 1.3.1_08-b03) > Java HotSpot(TM) Client VM (build 1.3.1_08-b03, mixed > mode) > > This should appear if I type java -version in any > directory since I have added that path. Seems, that > java installed with the Red Hat 9 is overiding it. I > looked it in the packages with > redhat-config-packages so that I could uninstall it > but I could not find a package name for java installed > in my systems in the developments section. > Can someone tell me how to stop this overiding, in > fact I want to uninstall this open source java and > use only the sun distribution for linux. > > > Regards, > Rebel > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com -- Z <zleite@xxxxxxxxxxxxxx>