How to use relative path instead of absolute path?

前端 未结 4 1461
说谎
说谎 2020-12-06 07:33

So I am having a strange issue with Java.

I\'m reading a writing files, so the path is important to me. I would like all files to be written and read from the relati

4条回答
  •  一整个雨季
    2020-12-06 07:48

    set the user.dir property on the command line, or just run from the directory you wnt everything to be relative to (by cd-ing)

提交回复
热议问题