Open
Description
Hi,
I was reviewing concept in multiple Kotlin
projects and I would like to do the same stuff with Java.
How complex could be the configuration/change of this project in order to compile Java examples?
Currently if I try to compile Java in any example:
public class Main {
public static void main(String[] args) {
System.out.println("This will be printed");
}
}
https://blog.jetbrains.com/kotlin/2018/04/embedding-kotlin-playground/
I receive the following errors:
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Expecting member declaration
Function declaration must have a name
I would like to learn if it is possible to configure in some way current kotlin-playground
to compile and run Java code.
Many thanks in advance
Juan Antonio
Related issue: JetBrains/kotlin-playground#97