I'm trying to build a irc bot with Java. Currently my problem is that I cannot get it to connect to Quakenet. I'm getting "Your client may not be compatible with this server." Which might be just because I haven't set any client version for this bot. How can I do that?
I'm aware that there are libraries for building irc bot with Java but I would like to create one from scratch to get more knowledge about it.
What that means is that the server is sending your client a message querying its version, and your client, if it's responding at all, isn't responding with a string that the server likes. It has nothing to do with what software library (or version thereof) you're using.
I'd recommend reading RFC1459 (IRC protocol) and watching the raw traffic that is getting sent to your client to see what exactly is going on. As Yogi Berra once said, "You observe a lot just by watching."