SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)
MIT License
371 stars 88 forks source link

Can't run in gradle #183

Closed Heachy closed 8 months ago

Heachy commented 9 months ago

Run the MemoryFS sample

image image image Unable to access the mounted J drive

But when I use maven to build the project, MemoryFS runs normally. image

Is it because I haven’t configured it somewhere? I am using a Windows system. Hope to get help.QAQ

SerCeMan commented 9 months ago

Hey, @Heachy! Could you attach the logs? They might help reveal the issue. Also, since you're running on Windows, please check that UTF-8 is used, INSTALLATION.md#troubleshooting.

Heachy commented 9 months ago

Hey, @Heachy! Could you attach the logs? They might help reveal the issue. Also, since you're running on Windows, please check that UTF-8 is used, INSTALLATION.md#troubleshooting.

Thank you for your willingness to help me solve this problem! @SerCeMan

This is really the case. When I configure the VM's -Dfile.encoding=UTF-8, I can open the file.

However, in projects built by maven, it can be opened without configuration. Is it a built-in setting?