mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Updated Java Interpreter README and documentation.
This commit is contained in:
parent
9e9a859e97
commit
ce9401079f
2 changed files with 3 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
Java interpreter for Apache Zeppelin
|
||||
|
||||
# Architecture
|
||||
Current interpreter implementation supports the static repl. It compiles the code in memory, execute it and redirect the output to zeppelin.
|
||||
Current interpreter implementation supports the static REPL. It compiles the code in memory, execute it and redirect the output to zeppelin.
|
||||
|
||||
### Technical overview
|
||||
|
||||
|
|
|
|||
|
|
@ -49,9 +49,10 @@ public class JavaInterpreter extends Interpreter {
|
|||
@Override
|
||||
public void close() {
|
||||
File dir = new File(".");
|
||||
File[] dirFiles = dir.listFiles();
|
||||
// delete all .class files created while compilation process
|
||||
for (int i = 0; i < dir.list().length; i++) {
|
||||
File f = dir.listFiles()[i];
|
||||
File f = dirFiles[i];
|
||||
if (f.getAbsolutePath().endsWith(".class")) {
|
||||
f.delete();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue