{"action":"opened","issue":{"url":"https://api.github.com/repos/joeferner/node-java/issues/244","labels_url":"https://api.github.com/repos/joeferner/node-java/issues/244/labels{/name}","comments_url":"https://api.github.com/repos/joeferner/node-java/issues/244/comments","events_url":"https://api.github.com/repos/joeferner/node-java/issues/244/events","html_url":"https://github.com/joeferner/node-java/issues/244","id":103073460,"number":244,"title":"Error: Could not create class com.nearinfinity.nodeJava.MyClass","user":{"login":"juniorkid","id":8817242,"avatar_url":"https://avatars.githubusercontent.com/u/8817242?v=3","gravatar_id":"","url":"https://api.github.com/users/juniorkid","html_url":"https://github.com/juniorkid","followers_url":"https://api.github.com/users/juniorkid/followers","following_url":"https://api.github.com/users/juniorkid/following{/other_user}","gists_url":"https://api.github.com/users/juniorkid/gists{/gist_id}","starred_url":"https://api.github.com/users/juniorkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juniorkid/subscriptions","organizations_url":"https://api.github.com/users/juniorkid/orgs","repos_url":"https://api.github.com/users/juniorkid/repos","events_url":"https://api.github.com/users/juniorkid/events{/privacy}","received_events_url":"https://api.github.com/users/juniorkid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-25T17:07:42Z","updated_at":"2015-08-25T17:07:42Z","closed_at":null,"body":"I have an error \r\n\r\n/home/bright/Desktop/Web/NodeJS/node_modules/java/lib/nodeJavaBridge.js:205\r\n  var clazz = java.findClassSync(name); // TODO: change to Class.forName when \r\n                   ^\r\nError: Could not create class com.nearinfinity.nodeJava.MyClass\r\njava.lang.UnsupportedClassVersionError: com/nearinfinity/nodeJava/MyClass : Unsupported major.minor version 51.0\r\n\tat java.lang.ClassLoader.defineClass1(Native Method)\r\n\tat java.lang.ClassLoader.defineClass(ClassLoader.java:643)\r\n\tat java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\r\n\tat java.net.URLClassLoader.defineClass(URLClassLoader.java:277)\r\n\tat java.net.URLClassLoader.access$000(URLClassLoader.java:73)\r\n\tat java.net.URLClassLoader$1.run(URLClassLoader.java:212)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:205)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:323)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:268)\r\n\r\n    at Error (native)\r\n    at Java.java.import (/home/bright/Desktop/Web/NodeJS/node_modules/java/lib/nodeJavaBridge.js:205:20)\r\n    at Object.<anonymous> (/home/bright/Desktop/Web/NodeJS/node_modules/java/examples/mixJavaAndNode/runMyClass.js:6:26)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Function.Module.runMain (module.js:501:10)\r\n    at startup (node.js:129:16)\r\n    at node.js:814:3\r\n\r\nthis program is in example in node-java\r\n\r\nhow can i fix it ? \r\n\r\nthank you"}}