Ciao, grazie per aver risposto !

Ho reimpostato il codice :
codice:
  String nomef=System.getProperty("user.dir")+"\\modeti\\"+nomeFile+".jrxml";
        String nomeJasper=System.getProperty("user.dir")+"\\modeti\\"+nomeFile+".jasper";
        System.out.println(nomef);
        IO.salva(nomef, foglio);
        try {


            // Compilo il file JRXML
            JasperCompileManager.compileReportToFile(nomef);


// Carico il file Jasper relativo
            JasperReport report = (JasperReport) JRLoader.loadObject(new File(nomeJasper));


// Riempio il report
            JasperPrint print = JasperFillManager.fillReport(report, new HashMap<String, Object>(), new JRTableModelDataSource(tableModel));
            JasperViewer jasperViewer = new JasperViewer(print);
            jasperViewer.setVisible(true);            
        } catch (JRException ex) {
            
            JOptionPane.showMessageDialog(new JPanel(), ex);
        }
il file jrxml è presente nella cartella ma continua a bloccarsi sempre alla seguente istruzione :

codice:
            JasperCompileManager.compileReportToFile(nomef);