-2
Good night.
I was wondering if you could give me a JAVA example of how to check if my program JAVA-MADE is running on Windows.
Taking advantage of the topic, I would also like to know how I execute a command in CMD USING JAVA if it is running the program on Windows. It is common that windows cmd does not recognize accents, but just type the command "chcp 65001" that he recognizes...
In short, I would like to check if the user has run the program JAVA-MADE in windows and if yes run the command JAVA "chcp 65001".
Lucas, there is no doubt regarding java in your question. This tag makes no sense in it.
– user28595
I put Java, because I want an example in Java.
– Lucas