So I've downloaded jdk7 pretty much since the first day I started using Ubuntu 12.04 so that I could start using Eclipse under the most up-to-date version of java. I built and completed a project with the Java 7 library, but when I tried to run its jar via the terminal, it said Java 7 was not compatible. In the terminal, I ran
and it said I had JRE6. But how is that possible if I installed jdk7? Should I install it separately?