How to get the Desktop path in java

I use a french version of Windows and with it the instruction:

System.getProperty("user.home") + "/Desktop";

works fine for me.

Leave a Comment