The gradle build generates jdk7 compatible class files. If you generate eclipse projects using `gradle eclipse` the compiler settings don’t get applied IIRC. Like Kirk said you have to set that up manually (depending on your eclipse configuration).
Anthony > On Jul 15, 2015, at 10:00 PM, Kirk Lund <[email protected]> wrote: > > I'm not in front of a computer so this is all by memory & thus probably not > exact... Go to your Preferences | Java | Installed JRE and point it at a 1.7 > or 1.8 JDK. Then go to the Compiler options and set it to 1.7 or 1.8 for the > workspace. Last check the Compiler options for each project in your workspace > (right click each project & go to its properties). Make sure all of those are > set to the same version or are inheriting from the workspace. > > Last time I saw the same error, I had the Projects set for 1.8 Compiler but > Installed JRE was pointed at JDK 1.5. Getting the Java version consistent > everywhere should fix this (it did for me). > > -Kirk > > On Wednesday, July 15, 2015, darshan hs <[email protected] > <mailto:[email protected]>> wrote: > Hi i am trying to run helloworld sample program,However i am getting the > following error > Exception in thread "main" java.lang.UnsupportedClassVersionError: > com/gemstone/gemfire/cache/client/ClientCacheFactory : Unsupported > major.minor version 52.0 > > Kindly resolve at the earliest
