[reikon@reikon: ~/Desktop/weirdJavaError ]$ java ChangeMakerTester
Exception in thread "main" java.lang.UnsupportedClassVersionError: ChangeMakerTester (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
*grumble* *grumble*
Code:
[reikon@reikon: ~/Desktop/weirdJavaError ]$ java5 ChangeMakerTester
What is the amount due?3
What was the amount paid?2
Amount Due:$3.00
amount recieved:$2.00
Excuse me, you still owe me another$2.00
[reikon@reikon: ~/Desktop/weirdJavaError ]$