Hi, my application potentially will be running on UNIX, ,LINUX, or Window OS.
I am wondering is JAva able to detect which OS i am currently running. I am asking this because sometime my application will neeed to access the location machine directory. For UNIX or FreeBSD the file structure is different comparing with window.
So, i plan to put a if-else condition to check what is the OS i am using so that i can access the directory respectively.