1.“Plug-in org.testng.eclipse was unable to load class org.testng.eclipse.ui.TestRunnerViewPart
2.Eclipse Juno : TestNG installed but inaccessible
3.CoreException: Plug-in org.testng.eclipse was unable to load class
I have some solutions for all the above errors. Try it and let me know.
1.Check if your Compilation and Execution points to same version.
if not change the compiler version and the runtime to jdk1.7
if that is same and you still facing the error.
Go to Eclipse->Help->About Eclipse SDK->Installation Details->Configuration
There you will find information on
java.class.version=51.0
java.runtime.version=1.7.0_79-b15
Check if it both are of same versions and the jre points to your custom path. If in case
java.class.version=50.0
java.runtime.version=1.7.0_79-b15 you will get the above error – unable to load class

Solutions :
This means that the eclipse uses its own jre for loading class and hence any overriding is not being accepted.Please Go to eclipse.ini and add your vm arguments so that eclipse runs using the jre mentioned by you

Now restart the eclipse.
Hope this helps