Is Linux operating system a good development environment, or is windows operating system a good development environment?

  linux, question

I have been using windows operating system all the time. Recently, win7 system crashed and I want to install Linux operating system. However, I have the following concerns and ask the great god for advice.

Question 1: It is not convenient to build java development under Linux environment. Would you recommend a Linux version suitable for development?

Question 2: Is it possible to use commonly used software such as wps, impression comparison, Youdao cloud notes, wps, QQ and so on under 2:Linux environment, and the usage habits are not much different from windows system?

Mac is more suitable.