From b394ed0400aa48def1eb5a097ea6bae702f62ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ezgi=20=C3=87i=C3=A7ek?= Date: Wed, 20 May 2020 07:49:51 -0700 Subject: [PATCH] [lab] Update README with classpath warning Summary: Without having the added jar files in the classpath, Tenv cannot pick up the type/inheritence info. Reviewed By: jvillard Differential Revision: D21662402 fbshipit-source-id: c149356c9 --- infer/src/labs/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/infer/src/labs/README.md b/infer/src/labs/README.md index 066496d92..aa5cda471 100644 --- a/infer/src/labs/README.md +++ b/infer/src/labs/README.md @@ -35,6 +35,12 @@ Clone the Infer repository at https://github.com/facebook/infer and read the ins See [CONTRIBUTING.md](https://github.com/facebook/infer/blob/master/CONTRIBUTING.md#hacking-on-the-code) to set your editor and for tips and tricks on how to hack on Infer more efficiently. One of the most useful things to install in your editor to navigate OCaml source code efficiently is [Merlin](https://github.com/ocaml/merlin/wiki). +For Java, ensure that you have the following jar files in your `$CLASSPATH`: + +- infer/lib/java/android/android-23.jar +- infer/dependencies/java/sun-tools/tools.jar + + ## (1) Warm up: running, testing, and debugging Infer (a) Change to the test directory (`cd infer/tests/codetoanalyze/java/lab`) and run infer in its default configuration: