{"action":"created","comment":{"url":"https://api.github.com/repos/meganz/sdk/pulls/comments/29991941","id":29991941,"diff_hunk":"@@ -20,16 +17,43 @@ To use a prebuilt library (the easy way), follow these steps:\n     sudo make install\n     ```\n \n-2. On Eclipse, click \"Import\" -> \"Existing Projects into Workspace\" and select the root directory: `sdk/examples/java/JavaBindingSample`\n-3. Open the \"Properties\" of the project and go to \"Java Build Path\" -> \"Source\"\n-4. Click \"Link Source...\" and select the folder `sdk/bindings/java`\n-5. Copy the library `libmegajava.so` into the `libs` folder in your project.\n+2. Copy the library `libmegajava.so` into the `libs` folder in your project.\n     \n     ```\n-    cp bindings/java/.lib/libmegajava.so examples/java/libs\n+    cp bindings/java/.libs/libmegajava.so examples/java/JavaBindingSample/libs\n     ```\n     \n-6. Build and run the project in Eclipse\n+3. Copy the Java classes into the `src` folder in your project.\n+\n+    ```\n+    cp bindings/java/nz/mega/sdk/*.java examples/java/JavaBindingSample/src/nz/mega/sdk\n+    ```\n+    \n+4. In Eclipse, click \"Import\" -> \"Existing Projects into Workspace\" and select the root directory: `sdk/examples/java`","path":"examples/java/README.md","position":38,"original_position":38,"commit_id":"57402b4d8cf76d65e97d9fc18470a259b859a866","original_commit_id":"57402b4d8cf76d65e97d9fc18470a259b859a866","user":{"login":"pohutukawa","id":422922,"avatar_url":"https://avatars.githubusercontent.com/u/422922?v=3","gravatar_id":"","url":"https://api.github.com/users/pohutukawa","html_url":"https://github.com/pohutukawa","followers_url":"https://api.github.com/users/pohutukawa/followers","following_url":"https://api.github.com/users/pohutukawa/following{/other_user}","gists_url":"https://api.github.com/users/pohutukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/pohutukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pohutukawa/subscriptions","organizations_url":"https://api.github.com/users/pohutukawa/orgs","repos_url":"https://api.github.com/users/pohutukawa/repos","events_url":"https://api.github.com/users/pohutukawa/events{/privacy}","received_events_url":"https://api.github.com/users/pohutukawa/received_events","type":"User","site_admin":false},"body":"If the Eclipse project files are relocated elsewhere (out of the way of the root, e. g into `contrib/Eclipse`), then there needs to be a word about this. In this case, it might make sense to create a section for Eclipse detailing the steps:\r\n```How to import the project into Eclipse```","created_at":"2015-05-09T11:19:15Z","updated_at":"2015-05-09T11:19:15Z","html_url":"https://github.com/meganz/sdk/pull/83#discussion_r29991941","pull_request_url":"https://api.github.com/repos/meganz/sdk/pulls/83","_links":{"self":{"href":"https://api.github.com/repos/meganz/sdk/pulls/comments/29991941"},"html":{"href":"https://github.com/meganz/sdk/pull/83#discussion_r29991941"},"pull_request":{"href":"https://api.github.com/repos/meganz/sdk/pulls/83"}}},"pull_request":{"url":"https://api.github.com/repos/meganz/sdk/pulls/83","id":34921881,"html_url":"https://github.com/meganz/sdk/pull/83","diff_url":"https://github.com/meganz/sdk/pull/83.diff","patch_url":"https://github.com/meganz/sdk/pull/83.patch","issue_url":"https://api.github.com/repos/meganz/sdk/issues/83","number":83,"state":"open","locked":false,"title":"Java (desktop) example for Windows","user":{"login":"sergiohs84","id":11694066,"avatar_url":"https://avatars.githubusercontent.com/u/11694066?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiohs84","html_url":"https://github.com/sergiohs84","followers_url":"https://api.github.com/users/sergiohs84/followers","following_url":"https://api.github.com/users/sergiohs84/following{/other_user}","gists_url":"https://api.github.com/users/sergiohs84/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiohs84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiohs84/subscriptions","organizations_url":"https://api.github.com/users/sergiohs84/orgs","repos_url":"https://api.github.com/users/sergiohs84/repos","events_url":"https://api.github.com/users/sergiohs84/events{/privacy}","received_events_url":"https://api.github.com/users/sergiohs84/received_events","type":"User","site_admin":false},"body":"A new Visual Studio solution allows to create a native library (mega.dll) which enbables Java apps to use the SDK in Windows.\r\nInstructions for Java example have been updated too.","created_at":"2015-05-07T14:37:11Z","updated_at":"2015-05-09T11:19:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0789767fc96afbc095eb14d7b96c8894b259cf61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/meganz/sdk/pulls/83/commits","review_comments_url":"https://api.github.com/repos/meganz/sdk/pulls/83/comments","review_comment_url":"https://api.github.com/repos/meganz/sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meganz/sdk/issues/83/comments","statuses_url":"https://api.github.com/repos/meganz/sdk/statuses/57402b4d8cf76d65e97d9fc18470a259b859a866","head":{"label":"sergiohs84:master","ref":"master","sha":"57402b4d8cf76d65e97d9fc18470a259b859a866","user":{"login":"sergiohs84","id":11694066,"avatar_url":"https://avatars.githubusercontent.com/u/11694066?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiohs84","html_url":"https://github.com/sergiohs84","followers_url":"https://api.github.com/users/sergiohs84/followers","following_url":"https://api.github.com/users/sergiohs84/following{/other_user}","gists_url":"https://api.github.com/users/sergiohs84/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiohs84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiohs84/subscriptions","organizations_url":"https://api.github.com/users/sergiohs84/orgs","repos_url":"https://api.github.com/users/sergiohs84/repos","events_url":"https://api.github.com/users/sergiohs84/events{/privacy}","received_events_url":"https://api.github.com/users/sergiohs84/received_events","type":"User","site_admin":false},"repo":{"id":33554082,"name":"sdk","full_name":"sergiohs84/sdk","owner":{"login":"sergiohs84","id":11694066,"avatar_url":"https://avatars.githubusercontent.com/u/11694066?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiohs84","html_url":"https://github.com/sergiohs84","followers_url":"https://api.github.com/users/sergiohs84/followers","following_url":"https://api.github.com/users/sergiohs84/following{/other_user}","gists_url":"https://api.github.com/users/sergiohs84/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiohs84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiohs84/subscriptions","organizations_url":"https://api.github.com/users/sergiohs84/orgs","repos_url":"https://api.github.com/users/sergiohs84/repos","events_url":"https://api.github.com/users/sergiohs84/events{/privacy}","received_events_url":"https://api.github.com/users/sergiohs84/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sergiohs84/sdk","description":"MEGA C++ SDK","fork":true,"url":"https://api.github.com/repos/sergiohs84/sdk","forks_url":"https://api.github.com/repos/sergiohs84/sdk/forks","keys_url":"https://api.github.com/repos/sergiohs84/sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sergiohs84/sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sergiohs84/sdk/teams","hooks_url":"https://api.github.com/repos/sergiohs84/sdk/hooks","issue_events_url":"https://api.github.com/repos/sergiohs84/sdk/issues/events{/number}","events_url":"https://api.github.com/repos/sergiohs84/sdk/events","assignees_url":"https://api.github.com/repos/sergiohs84/sdk/assignees{/user}","branches_url":"https://api.github.com/repos/sergiohs84/sdk/branches{/branch}","tags_url":"https://api.github.com/repos/sergiohs84/sdk/tags","blobs_url":"https://api.github.com/repos/sergiohs84/sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sergiohs84/sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sergiohs84/sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/sergiohs84/sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sergiohs84/sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/sergiohs84/sdk/languages","stargazers_url":"https://api.github.com/repos/sergiohs84/sdk/stargazers","contributors_url":"https://api.github.com/repos/sergiohs84/sdk/contributors","subscribers_url":"https://api.github.com/repos/sergiohs84/sdk/subscribers","subscription_url":"https://api.github.com/repos/sergiohs84/sdk/subscription","commits_url":"https://api.github.com/repos/sergiohs84/sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/sergiohs84/sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/sergiohs84/sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/sergiohs84/sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/sergiohs84/sdk/contents/{+path}","compare_url":"https://api.github.com/repos/sergiohs84/sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sergiohs84/sdk/merges","archive_url":"https://api.github.com/repos/sergiohs84/sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sergiohs84/sdk/downloads","issues_url":"https://api.github.com/repos/sergiohs84/sdk/issues{/number}","pulls_url":"https://api.github.com/repos/sergiohs84/sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/sergiohs84/sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/sergiohs84/sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sergiohs84/sdk/labels{/name}","releases_url":"https://api.github.com/repos/sergiohs84/sdk/releases{/id}","created_at":"2015-04-07T16:15:04Z","updated_at":"2015-05-08T11:17:46Z","pushed_at":"2015-05-08T14:05:20Z","git_url":"git://github.com/sergiohs84/sdk.git","ssh_url":"git@github.com:sergiohs84/sdk.git","clone_url":"https://github.com/sergiohs84/sdk.git","svn_url":"https://github.com/sergiohs84/sdk","homepage":"","size":6847,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"meganz:master","ref":"master","sha":"0220a213003eee969495874d4fd1de3b287fb76f","user":{"login":"meganz","id":4920706,"avatar_url":"https://avatars.githubusercontent.com/u/4920706?v=3","gravatar_id":"","url":"https://api.github.com/users/meganz","html_url":"https://github.com/meganz","followers_url":"https://api.github.com/users/meganz/followers","following_url":"https://api.github.com/users/meganz/following{/other_user}","gists_url":"https://api.github.com/users/meganz/gists{/gist_id}","starred_url":"https://api.github.com/users/meganz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meganz/subscriptions","organizations_url":"https://api.github.com/users/meganz/orgs","repos_url":"https://api.github.com/users/meganz/repos","events_url":"https://api.github.com/users/meganz/events{/privacy}","received_events_url":"https://api.github.com/users/meganz/received_events","type":"Organization","site_admin":false},"repo":{"id":14556029,"name":"sdk","full_name":"meganz/sdk","owner":{"login":"meganz","id":4920706,"avatar_url":"https://avatars.githubusercontent.com/u/4920706?v=3","gravatar_id":"","url":"https://api.github.com/users/meganz","html_url":"https://github.com/meganz","followers_url":"https://api.github.com/users/meganz/followers","following_url":"https://api.github.com/users/meganz/following{/other_user}","gists_url":"https://api.github.com/users/meganz/gists{/gist_id}","starred_url":"https://api.github.com/users/meganz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meganz/subscriptions","organizations_url":"https://api.github.com/users/meganz/orgs","repos_url":"https://api.github.com/users/meganz/repos","events_url":"https://api.github.com/users/meganz/events{/privacy}","received_events_url":"https://api.github.com/users/meganz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/meganz/sdk","description":"MEGA C++ SDK","fork":false,"url":"https://api.github.com/repos/meganz/sdk","forks_url":"https://api.github.com/repos/meganz/sdk/forks","keys_url":"https://api.github.com/repos/meganz/sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meganz/sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meganz/sdk/teams","hooks_url":"https://api.github.com/repos/meganz/sdk/hooks","issue_events_url":"https://api.github.com/repos/meganz/sdk/issues/events{/number}","events_url":"https://api.github.com/repos/meganz/sdk/events","assignees_url":"https://api.github.com/repos/meganz/sdk/assignees{/user}","branches_url":"https://api.github.com/repos/meganz/sdk/branches{/branch}","tags_url":"https://api.github.com/repos/meganz/sdk/tags","blobs_url":"https://api.github.com/repos/meganz/sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meganz/sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meganz/sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/meganz/sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meganz/sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/meganz/sdk/languages","stargazers_url":"https://api.github.com/repos/meganz/sdk/stargazers","contributors_url":"https://api.github.com/repos/meganz/sdk/contributors","subscribers_url":"https://api.github.com/repos/meganz/sdk/subscribers","subscription_url":"https://api.github.com/repos/meganz/sdk/subscription","commits_url":"https://api.github.com/repos/meganz/sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/meganz/sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/meganz/sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/meganz/sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/meganz/sdk/contents/{+path}","compare_url":"https://api.github.com/repos/meganz/sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meganz/sdk/merges","archive_url":"https://api.github.com/repos/meganz/sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meganz/sdk/downloads","issues_url":"https://api.github.com/repos/meganz/sdk/issues{/number}","pulls_url":"https://api.github.com/repos/meganz/sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/meganz/sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/meganz/sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meganz/sdk/labels{/name}","releases_url":"https://api.github.com/repos/meganz/sdk/releases{/id}","created_at":"2013-11-20T12:33:53Z","updated_at":"2015-05-07T23:24:16Z","pushed_at":"2015-05-08T12:21:21Z","git_url":"git://github.com/meganz/sdk.git","ssh_url":"git@github.com:meganz/sdk.git","clone_url":"https://github.com/meganz/sdk.git","svn_url":"https://github.com/meganz/sdk","homepage":"","size":13100,"stargazers_count":98,"watchers_count":98,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":13,"forks":44,"open_issues":13,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meganz/sdk/pulls/83"},"html":{"href":"https://github.com/meganz/sdk/pull/83"},"issue":{"href":"https://api.github.com/repos/meganz/sdk/issues/83"},"comments":{"href":"https://api.github.com/repos/meganz/sdk/issues/83/comments"},"review_comments":{"href":"https://api.github.com/repos/meganz/sdk/pulls/83/comments"},"review_comment":{"href":"https://api.github.com/repos/meganz/sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meganz/sdk/pulls/83/commits"},"statuses":{"href":"https://api.github.com/repos/meganz/sdk/statuses/57402b4d8cf76d65e97d9fc18470a259b859a866"}}}}