There are two main operating systems:
It was not designed to make it easy for people, particularly people who aren't Windows specialists, to write their own programs.
I have been using computers since 1965. I use a Windows PC when I want to run an existing program. I would never choose to write, develop or test a new program of my own on Windows.
Linux is not `user friendly' for those who do not understand how it works. If you have never used Unix before then you certainly cannot just sit down at a Unix computer and get started by clicking on things and seeing what happens. Attaching a new piece of hardware, e.g. a USB device, to a Linux PC can be a serious challenge.
However, Unix is excellent, once you know a bit about it, for the job for which it was designed, i.e. writing programs. Another advantage of Unix is that it is both more secure by design than Windows and has also attracted fewer hackers and virus writers.
I would always choose to write and develop any program on Unix whenever possible. Because of its better security I normally use it for web browsing and email.
Java is a hard language to learn, although very powerful and quite suitable for serious computation.