Installed new JRE, but old version is still used
843798Nov 3 2007 — edited Nov 6 2007I'm running openSUSE 10.3 on a laptop. I just installed JDK 6u3 and JRE 6u3.
When I compile my programs an run them, it says "unsupported class version number". So I typed in "java -version", and it said "Java Version 1.5.0_12".
How do I make it use JRE 6u3 and not JRE 5?
P.S. I can compile the programs using "javac -version 1.4", and then they'll work.