Thanks for the reply Swapnil I ran the following
localhost:bin hrahman$ java -version java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) localhost:bin hrahman$ /usr/libexec/java_home -V Matching Java Virtual Machines (4): 1.8.0_31, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home 1.7.0_71, x86_64: "Java SE 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home 1.6.0_65-b14-466.1, x86_64: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home 1.6.0_65-b14-466.1, i386: "Java SE 6" /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home localhost:bin hrahman$ I have restarted my macbook in between. So I had set the JAVA_HOME and PATH properties once more as they were not yet added to the bash_profile Thanks Habeeb On Thu, Sep 1, 2016 at 12:34 PM, Swapnil Bawaskar <sbawas...@pivotal.io> wrote: > Looks like a JDK problem. Which JDK are you using? Can you please provide > an output of running "/usr/libexec/java_home" and "java -version"? > Also did you make any changes to the jdk between your first and second > attempts? > > On Thu, Sep 1, 2016 at 10:56 AM, Habeeb Rahman <habionl...@gmail.com> > wrote: > >> Hi >> I was trying with the Apache Geode for the first time >> Initially I was able to start the locator and server properly and I was >> able to create the region as well. >> But when I tried next time, I am getting some error. I have ensured both >> the previous locator and server are killed before starting the new locator >> and server. But still the error is present. Even the log file under locator >> and server are not providing any info >> >> Can you please help me out here >> >> gfsh>start locator --name=locator >> >> Starting a Geode Locator in /Users/hrahman/apache-geode-1. >> 0.0-incubating.M3/bin/locator... >> >> An error occurred while attempting to start a Locator in >> /Users/hrahman/apache-geode-1.0.0-incubating.M3/bin/locator on >> rws-habeeb.saba.com[10334]: sun.tools.attach.MacosxVirtual >> Machine.isLinuxThreads()Z >> >> >> gfsh>start server --name=server >> >> Starting a Geode Server in /Users/hrahman/apache-geode-1. >> 0.0-incubating.M3/bin/server... >> >> An error occurred while attempting to start a Geode Cache Server: Could >> not initialize class sun.tools.attach.MacosxVirtualMachine >> >> >> gfsh> >> >> -- >> Regards >> Habeeb >> > > -- Regards Habeeb