How to compile List of PsiJavaFile's

Hi. I am playing with kotlin-web-demo and trying to add Java exercises to it. I have List of PsiJavaFile's. What is the API that I should use to compile them ?

I need to get back bytecode files and main class name in order to run it after that.

Thanks.

0
2 comments
Avatar
Permanently deleted user

Hi Alex, 

do you mean you want to invoke a java compiler from your code? Then please specify the context in which the code is executed: is this an IDEA plugin or a standalone program?

0
Avatar
Permanently deleted user
0

Please sign in to leave a comment.