Reputation: 291
I built a Java application in Eclipse on Windows 7. I have Mac OSX 10.7.4 on a VMWare machine.
I built the app with JDK 1.7. I have JRE 1.7 on my Windows and the app works fine. I have Java 1.7 installed on the Mac VM Machine.
When launching the app on my Mac VM Machine, I get a "unspported major.minor version 51.0" error.
I know that this error means I don't have the right JRE to run my JAR file, but I do have JRE 7 installed (I installed it today).
My Application uses Apache FTP Client libraries but they are all included in the JAR file (I exported the Eclipse project into a Runnable JAR File, with all the required libraries).
Upvotes: 6
Views: 12427
Reputation: 291
The solution to this issue can be found on this post : Installed Java 7 on Mac OS X but Terminal is still using version 6.
Thanks for everyone's help.
Upvotes: 3