I code in netbeans and this doesnt work on my friends mac osx

any ideas?

i get this error



Code:
 String path = "/Users"+"/stefanopedretti/iMacros";
        BufferedReader br = null;
        String sCurrentLine;
        String code="\n";
        
        
br = new BufferedReader(new FileReader(path+"/list.txt"));
while ((sCurrentLine = br.readLine()) != null) {
                                int i=sCurrentLine.length();
                                char c=sCurrentLine.charAt(i-1);
                                if(c==' ')
                                    sCurrentLine=sCurrentLine.substring(0,i-1);
                                sCurrentLine=sCurrentLine.substring(1);
				code=code+ sCurrentLine +"/\n";
                  
			}

Writer fileWriter = new FileWriter(path+"/InstagramBot.txt");

fileWriter.write(code);
fileWriter.close();