@ Override public boolean compileFiles ( String [ ] files ) { JavaCompiler compiler = ToolProvider . getSystemJavaCompiler ( ) ; if ( compiler == null ) { throw new IllegalStateException ( "No compiler detected, make sure you are running on top of a JDK instead of a JRE." ) ; } StandardJavaFileManager fileManager = compiler . getStandardFileManager ( null , null , null ) ; Iterable < ? extends JavaFileObject > fileList = fileManager . getJavaFileObjectsFromStrings ( Arrays . asList ( files ) ) ; return internalCompile ( compiler , wrapJavaFileManager ( fileManager ) , setupDiagnosticListener ( ) , fileList ) ; }
unix file separator