{"action":"created","issue":{"url":"https://api.github.com/repos/rgra/choco-packages/issues/2","repository_url":"https://api.github.com/repos/rgra/choco-packages","labels_url":"https://api.github.com/repos/rgra/choco-packages/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rgra/choco-packages/issues/2/comments","events_url":"https://api.github.com/repos/rgra/choco-packages/issues/2/events","html_url":"https://github.com/rgra/choco-packages/issues/2","id":183074682,"number":2,"title":"Would it be possible to default the server-jre8 to Machine with User as an option","user":{"login":"dragon788","id":487774,"avatar_url":"https://avatars.githubusercontent.com/u/487774?v=3","gravatar_id":"","url":"https://api.github.com/users/dragon788","html_url":"https://github.com/dragon788","followers_url":"https://api.github.com/users/dragon788/followers","following_url":"https://api.github.com/users/dragon788/following{/other_user}","gists_url":"https://api.github.com/users/dragon788/gists{/gist_id}","starred_url":"https://api.github.com/users/dragon788/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragon788/subscriptions","organizations_url":"https://api.github.com/users/dragon788/orgs","repos_url":"https://api.github.com/users/dragon788/repos","events_url":"https://api.github.com/users/dragon788/events{/privacy}","received_events_url":"https://api.github.com/users/dragon788/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-14T15:07:09Z","updated_at":"2016-11-17T15:10:02Z","closed_at":"2016-11-17T15:10:02Z","body":"Since a lot of the packages that depend on the server-jre pull it without adding any parameters and many of them need to run as a service, with the way that it currently only installs JAVA_HOME to the User's Environment and adds %JAVA_HOME%/bin to the User's PATH, this doesn't end up actually working for most of those server packages because if they run as a service via the SYSTEM account, they can't find Java.exe in the PATH or see JAVA_HOME.\n\nI'll see about making a pull request from my fork with this change, but I wanted to document some of the reasoning behind the change and I'll have to explore how to detect/clean up the User variables so that it doesn't break existing installs that were intentionally NOT system wide.\n"},"comment":{"url":"https://api.github.com/repos/rgra/choco-packages/issues/comments/261271759","html_url":"https://github.com/rgra/choco-packages/issues/2#issuecomment-261271759","issue_url":"https://api.github.com/repos/rgra/choco-packages/issues/2","id":261271759,"user":{"login":"espoelstra","id":7798975,"avatar_url":"https://avatars.githubusercontent.com/u/7798975?v=3","gravatar_id":"","url":"https://api.github.com/users/espoelstra","html_url":"https://github.com/espoelstra","followers_url":"https://api.github.com/users/espoelstra/followers","following_url":"https://api.github.com/users/espoelstra/following{/other_user}","gists_url":"https://api.github.com/users/espoelstra/gists{/gist_id}","starred_url":"https://api.github.com/users/espoelstra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/espoelstra/subscriptions","organizations_url":"https://api.github.com/users/espoelstra/orgs","repos_url":"https://api.github.com/users/espoelstra/repos","events_url":"https://api.github.com/users/espoelstra/events{/privacy}","received_events_url":"https://api.github.com/users/espoelstra/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T15:10:02Z","updated_at":"2016-11-17T15:10:02Z","body":"I've merged #3 so in the future the package will default to system wide installation instead of only setting the JAVA_HOME and updating the PATH for a single user. Version 1.8.0.111 will be the last using USER by default, the .DATE version and higher releases will default to MACHINE."}}
{"actor":{"display_login":"espoelstra"}}