[root@sandbox twitter4j-tutorial]# ./build
Error: Could not find or load main class
./build: line 2: -XX:MaxPermSize=384M: command not found
Twitter libraries are not part of the distribution. You have multiple options to download it. Check this: http://twitter4j.org/en/
If any response was helpful to your question, please vote and accept the best answer.