4 Replies Latest reply on Jan 10, 2014 8:46 AM by Alfonso D'Aniello

    JBoss EAP 6 and JasperReport

    Alfonso D'Aniello Newbie

      Hi all

       

      I have created a simple function that compiles a jrxml

      In local works correctly, but if I deploy the war in an ear on the AS I get the following error:

       

      Caused by: java.io.IOException: Cannot run program "javac": error=2, No such file or directory

      at java.lang.ProcessBuilder.start(ProcessBuilder.java:1041)

      at java.lang.Runtime.exec(Runtime.java:617)

      at java.lang.Runtime.exec(Runtime.java:485)

      at net.sf.jasperreports.engine.design.JRJavacCompiler.compileClasses(JRJavacCompiler.java:75)

      ... 63 more

       

      I have added all lib (included jasper-compiler-jdt) on the EAR with Deployment Assembly

       

      help me