Index: /trunk/FACT++/src/RemoteControl.cc
===================================================================
--- /trunk/FACT++/src/RemoteControl.cc	(revision 14984)
+++ /trunk/FACT++/src/RemoteControl.cc	(revision 14985)
@@ -54,4 +54,7 @@
 string RemoteConsole::GetUpdatePrompt() const
 {
+    if (fImp->GetCurrentState()>=3)
+        return "";
+
     // If we are continously flushing the buffer omit the buffer size
     // If we are buffering show the buffer size
Index: /trunk/FACT++/src/RemoteControl.h
===================================================================
--- /trunk/FACT++/src/RemoteControl.h	(revision 14984)
+++ /trunk/FACT++/src/RemoteControl.h	(revision 14985)
@@ -379,4 +379,7 @@
         lout <<          "                "              "<imeout>  A timeout in millisenconds how long to wait (e.g. 500)\n";
         lout <<          "                "              "<label>   A label (number) until which everything is skipped in case of timeout\n";
+        lout << kBold << "   .js file     " << kReset << "Execute a JavaScript\n";
+        if (!StateMachineDimControl::fIsServer)
+            lout << kBold << "   .java        " << kReset << "Start JavaScript interpreter\n";
         lout << endl;
         return true;
@@ -436,4 +439,15 @@
             T::Lock();
             JsRun(opt, data);
+            T::Unlock();
+
+            return true;
+        }
+
+        if (str==".java" && !StateMachineDimControl::fIsServer)
+        {
+            T::fScript = "java";
+
+            T::Lock();
+            JsRun("");
             T::Unlock();
 
