instead of that I noticed that if i run my java code normally it shows the file path but if i run the file from my terminal like "java main.java" it doesn't show the file path and then i just use the arrow key so i don't have to retype it again and again.