Go through the java.lang.System class, and there is a method called something like getProperties. That returns a Properties object, which has methods like list. Using that method
you should be able to get a listing of all Properties; there will be one called something like path.separator.
Now back to the System class and use getProperty("path.separator") only you use the correct spelling.