Java file path in Linux

后端 未结 3 602
-上瘾入骨i
-上瘾入骨i 2021-01-04 06:24

I have a rather silly question, but I haven\'t been able to find a solution for this:

When I try and read a file I get a \"file not found error\" is runtime. It

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-04 07:00

    The Official Documentation is clear about Path.

    Linux Syntax: /home/joe/foo

    Windows Syntax: C:\home\joe\foo


    Note: joe is your username for these examples.

提交回复
热议问题