Why is /opt/jre1.5.0_04/bin in your path if /usr/java/jre1.5.0_04/bin/java is what you need (according to your first post)? Change that and you should be set /usr/bin/java is probably a link to 1.4. The redundancy is probably because you have similar entries in /etc/profile and ~/.bash_profile or similar. |