@markos ToS takes 27 seconds to load, that's more than Windows 10 needs to boot. Set the memory to 1024-3072 (also 512-1536). The other Java app also has a slow startup.
ToS is not associated to a specific file extension, so have to copy/paste the scripts or use the Open Shared Item menu.Java performance
Java startup time is often much slower than many languages, including C, C++, Perl or Python, because many classes (and first of all classes from the platform Class libraries) must be loaded before being used.
When compared against similar popular runtimes, for small programs running on a Windows machine, the startup time appears to be similar to Mono's and a little slower than .NET's.