Add tools.jar in the classpath of sbt project
问题 The ':javap' command in the scala 2.9.1 console need the tools.jar (from JDK6) in the 'classpath'. From cmd-line it could be done with '-cp' argument or CLASSPATH environment variable. How to do the same for scala console that invoked from SBT with the 'console' and 'console-quick' commands? 回答1: Long answer, that might help you elsewhere. If I want to know about something in SBT, I inspect it: > inspect console [info] Task: Unit [info] Description: [info] Starts the Scala interpreter with