How does java read a file that another process is using?

problem description

suppose that there is now a. Net program writing binaries to access the contents of the file through Java, so there will be conflicts.

because it is a binary file, the bytes in it are randomly read through

RandomAccessFile arf = new RandomAccessFile (file, "r")

read-only is specified here, but it still cannot be read properly. Is there any other way?

Apr.02,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3509a-3432b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3509a-3432b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?