A Java library of SOCKS5 protocol including client and server
SocksLib is a Java library for SOCKS5 protocol.
See Java API Documentation
See Wiki Page (Chinese)
If you are looking for a SOCKS5 server instead of a SOKCS5 library, I hope Esocks can help you.