Holen Sie sich Dateipfad Java
File file = new File("yourfileName");
String path = file.getAbsolutePath();
Famous Flamingo
File file = new File("yourfileName");
String path = file.getAbsolutePath();
Scanner s = new Scanner(new File("/home/me/java/ex.txt"));