The asset folder is a virtual folder so you need to use the B4A File.DirAssets and specify it in conjunction with the B4A File object to access asset files. It would be mesyy to to do this in inline Java.
For internal file paths use File.DirInternal etc. as strings and pass it to your Java code - though I don't see why you would need to do file operations in inline Java code.