{"action":"closed","issue":{"url":"https://api.github.com/repos/gocd/gocd/issues/5166","repository_url":"https://api.github.com/repos/gocd/gocd","labels_url":"https://api.github.com/repos/gocd/gocd/issues/5166/labels{/name}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/5166/comments","events_url":"https://api.github.com/repos/gocd/gocd/issues/5166/events","html_url":"https://github.com/gocd/gocd/issues/5166","id":359406074,"node_id":"MDU6SXNzdWUzNTk0MDYwNzQ=","number":5166,"title":"[Java-10-upgrade] Unable to start GoCD server with Java10 using the startup script","user":{"login":"adityasood","id":17826464,"node_id":"MDQ6VXNlcjE3ODI2NDY0","avatar_url":"https://avatars3.githubusercontent.com/u/17826464?v=4","gravatar_id":"","url":"https://api.github.com/users/adityasood","html_url":"https://github.com/adityasood","followers_url":"https://api.github.com/users/adityasood/followers","following_url":"https://api.github.com/users/adityasood/following{/other_user}","gists_url":"https://api.github.com/users/adityasood/gists{/gist_id}","starred_url":"https://api.github.com/users/adityasood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adityasood/subscriptions","organizations_url":"https://api.github.com/users/adityasood/orgs","repos_url":"https://api.github.com/users/adityasood/repos","events_url":"https://api.github.com/users/adityasood/events{/privacy}","received_events_url":"https://api.github.com/users/adityasood/received_events","type":"User","site_admin":false},"labels":[{"id":1054321120,"node_id":"MDU6TGFiZWwxMDU0MzIxMTIw","url":"https://api.github.com/repos/gocd/gocd/labels/java-10-upgrade","name":"java-10-upgrade","color":"bee0f7","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-09-12T10:02:57Z","updated_at":"2018-09-19T14:40:30Z","closed_at":"2018-09-19T14:40:29Z","author_association":"NONE","body":"##### Issue Type\r\n- Bug Report\r\n\r\n##### Summary\r\n\r\nWe now support (v18.10.0 onwards) running GoCD server on Java10. However, the startup scripts are still not updated and error out while checking for installed jvmVersion.\r\n\r\n###### Basic environment details\r\n\r\n<!--- We recommend providing the for us to reproduce the issue quicker -->\r\n\r\n* Go Version: 18.10.0-7486\r\n* JAVA Version: Java10\r\n* OS: MacOs\r\n* Browser vendor and version (if relevant): NA\r\n\r\n###### Additional Environment Details\r\n\r\n<!-- More environment details captured from the support API or other sources can be shared here -->\r\n\r\n##### Steps to Reproduce\r\n\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug include code to reproduce, if relevant -->\r\n1. upgrade your system java to java10\r\n2. start the latest GoCD server\r\n3. look for errors in go-server.out file\r\n\r\n\r\n##### Expected Results\r\nThe server should start up normally\r\n\r\n##### Actual Results\r\nserver startup fails\r\n\r\n##### Possible Fix\r\nchange the validations for system jvm version to point to Java10\r\n\r\n```~/Downloads/go-server-18.10.0  ./server.sh\r\n[Wed Sep 12 15:06:00 IST 2018] Starting process:\r\n[Wed Sep 12 15:06:00 IST 2018]   Working directory    : /Users/adityas/Downloads/go-server-18.10.0\r\n[Wed Sep 12 15:06:00 IST 2018]   Application arguments: []\r\n[Wed Sep 12 15:06:00 IST 2018]            GoCD Version: 18.10.0-7486\r\nRunning GoCD requires Java version 1.8. You are currently running with Java version 10. GoCD will now exit!```"}}
{"actor":{"display_login":"ketan"}}