简体   繁体   中英

how to obtain guava jar for command line usage

I would like to load the Guava library to make use of it via a command prompt in Windows. I can only locate information on how to use Guava with Maven and Eclipse, but nothing about how to do it just via command prompt. I also cannot determine where to obtain the JAR file.

Let's assume, by command line you mean javac . I've just UTFG "maven guava" and it took me to mvnrepository.com . From there on, you can navigate to the current version (22 as of now) and download it manually. There are more such repositories and most of them contain all usually used JAR files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM