{"action":"closed","issue":{"url":"https://api.github.com/repos/randoop/randoop/issues/176","repository_url":"https://api.github.com/repos/randoop/randoop","labels_url":"https://api.github.com/repos/randoop/randoop/issues/176/labels{/name}","comments_url":"https://api.github.com/repos/randoop/randoop/issues/176/comments","events_url":"https://api.github.com/repos/randoop/randoop/issues/176/events","html_url":"https://github.com/randoop/randoop/issues/176","id":219132017,"number":176,"title":"Cannot find the Java compiler. Check that classpath includes tools.jar","user":{"login":"tuyen","id":12403480,"avatar_url":"https://avatars2.githubusercontent.com/u/12403480?v=3","gravatar_id":"","url":"https://api.github.com/users/tuyen","html_url":"https://github.com/tuyen","followers_url":"https://api.github.com/users/tuyen/followers","following_url":"https://api.github.com/users/tuyen/following{/other_user}","gists_url":"https://api.github.com/users/tuyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tuyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuyen/subscriptions","organizations_url":"https://api.github.com/users/tuyen/orgs","repos_url":"https://api.github.com/users/tuyen/repos","events_url":"https://api.github.com/users/tuyen/events{/privacy}","received_events_url":"https://api.github.com/users/tuyen/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-04-04T03:38:44Z","updated_at":"2017-04-05T17:38:54Z","closed_at":"2017-04-05T17:38:54Z","body":"I run randoop with command: \r\njava -ea -classpath bin;%RANDOOP_JAR% randoop.main.Main gentests --testclass=first.Abc --timelimit=60\r\nThe result is error:\r\nThrowable thrown while handling command: java.lang.IllegalStateException: Cannot find the Java compiler. Check that classpath includes tools.jar\r\njava.lang.IllegalStateException: Cannot find the Java compiler. Check that classpath includes tools.jar\r\n        at randoop.compile.SequenceCompiler.<init>(SequenceCompiler.java:54)\r\n        at randoop.test.CompilableTestPredicate.<init>(CompilableTestPredicate.java:51)\r\n        at randoop.main.GenTests.createTestOutputPredicate(GenTests.java:618)\r\n        at randoop.main.GenTests.handle(GenTests.java:393)\r\n        at randoop.main.Main.nonStaticMain(Main.java:62)\r\n        at randoop.main.Main.main(Main.java:26)\r\n\r\nRandoop failed.\r\nLast sequence under execution: null\r\n\r\np/s: I have already installed java and the JAVA_HOME is set to C:\\Program Files\\Java\\jdk1.8.0_101 folder and path environment to the bin folder.\r\nI'm using windows 10.\r\nRandoop version: 3.1.2"}}
{"actor":{"display_login":"mernst"}}