{"action":"created","issue":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/6502","repository_url":"https://api.github.com/repos/neo4j/neo4j","labels_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502/labels{/name}","comments_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502/comments","events_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502/events","html_url":"https://github.com/neo4j/neo4j/issues/6502","id":135832323,"number":6502,"title":"Cannot start Neo4j Server via Powershell","user":{"login":"brunotomas","id":17015628,"avatar_url":"https://avatars.githubusercontent.com/u/17015628?v=3","gravatar_id":"","url":"https://api.github.com/users/brunotomas","html_url":"https://github.com/brunotomas","followers_url":"https://api.github.com/users/brunotomas/followers","following_url":"https://api.github.com/users/brunotomas/following{/other_user}","gists_url":"https://api.github.com/users/brunotomas/gists{/gist_id}","starred_url":"https://api.github.com/users/brunotomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunotomas/subscriptions","organizations_url":"https://api.github.com/users/brunotomas/orgs","repos_url":"https://api.github.com/users/brunotomas/repos","events_url":"https://api.github.com/users/brunotomas/events{/privacy}","received_events_url":"https://api.github.com/users/brunotomas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neo4j/neo4j/labels/2.3","name":"2.3","color":"5319e7"},{"url":"https://api.github.com/repos/neo4j/neo4j/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/neo4j/neo4j/labels/operability","name":"operability","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-02-23T19:09:44Z","updated_at":"2016-03-01T17:43:37Z","closed_at":null,"body":"I'm having problems to start Neo4j server through PowerShell.\r\n```\r\nPS C:\\Users\\brunotomas> 'E:\\neo4j' | Start-Neo4jServer -Console -Wait\r\nException in thread \"main\" java.lang.UnsatisfiedLinkError: Can't obtain class com.sun.jna.CallbackReference.AttachOptions\r\n        at com.sun.jna.Native.initIDs(Native Method)\r\n        at com.sun.jna.Native.<clinit>(Native.java:115)\r\n        at com.sun.jna.Structure.<clinit>(Structure.java:132)\r\n        at org.rzo.yajsw.WindowsXPProcess.start(WindowsXPProcess.java:1474)\r\n        at org.neo4j.wrapper.ServerProcessConsole.doStart(ServerProcessConsole.java:45)\r\n        at org.neo4j.wrapper.ServerProcess.<init>(ServerProcess.java:115)\r\n        at org.neo4j.wrapper.ServerProcessConsole.<init>(ServerProcessConsole.java:31)\r\n        at org.neo4j.wrapper.NeoServiceWrapper.launchAsConsoleApp(NeoServiceWrapper.java:48)\r\n        at org.neo4j.wrapper.NeoServiceWrapper.main(NeoServiceWrapper.java:35)\r\n1\r\n```\r\nAny ideas of what is going on?"},"comment":{"url":"https://api.github.com/repos/neo4j/neo4j/issues/comments/190828433","html_url":"https://github.com/neo4j/neo4j/issues/6502#issuecomment-190828433","issue_url":"https://api.github.com/repos/neo4j/neo4j/issues/6502","id":190828433,"user":{"login":"glennsarti","id":5819622,"avatar_url":"https://avatars.githubusercontent.com/u/5819622?v=3","gravatar_id":"","url":"https://api.github.com/users/glennsarti","html_url":"https://github.com/glennsarti","followers_url":"https://api.github.com/users/glennsarti/followers","following_url":"https://api.github.com/users/glennsarti/following{/other_user}","gists_url":"https://api.github.com/users/glennsarti/gists{/gist_id}","starred_url":"https://api.github.com/users/glennsarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennsarti/subscriptions","organizations_url":"https://api.github.com/users/glennsarti/orgs","repos_url":"https://api.github.com/users/glennsarti/repos","events_url":"https://api.github.com/users/glennsarti/events{/privacy}","received_events_url":"https://api.github.com/users/glennsarti/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T17:43:37Z","updated_at":"2016-03-01T17:43:37Z","body":"@brunotomas Yeah the 1503 is expected if the service wrapper never starts, which is what's happening here.  I still suspect a broken java environment but it's difficult to test.\r\n\r\n1) uninstall and reinstall java, but that's really heavy handed\r\n2) If you have another windows box somewhere, install java on that, copy the neo4j instance to it and try and run the console there.  That will prove that the neo4j instance and config is fine and the environment is broken.\r\n\r\nI'll have a quick look at my java config and see what file it's trying to load."}}