I've found my mistake: I don't pack codes into jar file and the environment is not set up correctly.
Thank you for your quick response.