rubenlagus / TelegramApi

Java library to create Telegram Clients
MIT License
300 stars 108 forks source link

ERRORSENDINGCODE on ubuntu #29

Open Pashnov opened 7 years ago

Pashnov commented 7 years ago

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

WOLFI3654 commented 7 years ago

I think you have to fix linux dev/./random to dev/./urandom

onixred commented 6 years ago

in the startup add a line -Djava.security.egd=file:/dev/./urandom