java install under redhat 9
I installed j2sdk 1.4.2 under redhat 9.0 and have some problems.
I use RPM to install it. After intall, I can compile program(it generating .class file), but can not run it.
I checked the install, and found the path of /usr/java/j2sdk1.4.2. But when I run java -version, it displays "1.3.1".
I tried to uninstall the package and it said 1.4.2 is not installed; I tried to reinstall it and it said it is
already installed.
Can anyone help me and explain what is going on there?
Thanks
|