TelegramApi
TelegramApi copied to clipboard
ERRORSENDINGCODE on ubuntu
I've wrote simple client to read messages from group. I launch my code from intellij idea and everything work on windows pc. I have work ubuntu pc and when I try to launch my code I got error above. kernel.init() returns this status.
Could you please help me with ti? I'm new in ubuntu
I think you have to fix linux dev/./random to dev/./urandom
in the startup add a line -Djava.security.egd=file:/dev/./urandom