Ok, I solved the problem.
While putting my apikey, I disrupted the template. At the end of each definition, there's a byte set at 10 value. Since I used notepad to edit the config, I couldn't see the extra byte and overwrote it.
HEX editor helped me with that, but also a great "thank you" goes to the author of the java client who's a very nice person to deal with.