Hi,
When I tried to run my main in netbeans I got this error
java exception in thread "main" java.lang.UnsupportedClassVersionError
I'm using netbeans 7 (macbook) ..what I tried to google the error and some people said that the Java Runtime is diffrnet than the JDK .. how can I solve this error in mac
sk8ergirl 0 Newbie Poster
Recommended Answers
Jump to PostThat usually means you are using an old version of the runtime with a class that was compiled for a later version. Simply download and install the latest Java Runtime (JRE) (execute only) or JDK (build/compile/debug/run - includes the JRE)
All 2 Replies
Reply to this topic Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.