I am working on an application that is being developed on both Mac and Windows. We are generating some file paths and want the paths generated to all be in the UNIX flavor with forward slashes. Calling Paths.get(...) on the Windows machine produces paths with the backslashes, but I want it to produce paths with forward slashes.
I couldn't find documentation about "setting" or specifying the path separator to be used.