Philip Laing schrieb: > Hi Folks > > Being a meticulous individual, I am in the process of installing Sun SDK > (replacing the existing gij GNU libgcj version). After a couple of days of > exhaustive trial and error and am completely bamboozled. > > Can someone kindly steer me in the right direction. > > It seems that after installing Sun SDK 5 or 1.5 using RPM I do a whereis and > I still get the existing GNU licensed Java rather than the new. Even when I > uninstall the existing Java (old) whereis cannot find Java at all. My > feelings on the matter are the home environment, however not being too > familiar with linux I feel stuck at this point
I don't know CentOS (IIRC it's a Red Hat based distro) but for building/running OFBiz it should be enough to set the JAVA_HOME environment variable with the following command: export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun -- Christian