Information sending from Java to Arduino

I tried this method, but it does not work(
Thank you.