summaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/public/index.php b/public/index.php
index a7f9674..f0bbf78 100644
--- a/public/index.php
+++ b/public/index.php
@@ -175,7 +175,15 @@ $csrf = csrf_token();
<div id="spinner"></div>
</div>
<h1>&#9749;&#65039; Java Compiler</h1>
- <p>Powered by Eclipse Temurin</p>
+ <p>Powered by Eclipse Temurin 23.</p>
+ <p>
+ <strong>Limitations:</strong>
+ Compilation and execution time is limited to 30 seconds each.
+ Your program won't have any network access and RAM is limited to 32 MiB.
+ Source code size is limited to 16 KiB. Files will not be persisted between executions.
+ Your program's main method needs to be contained inside a class named <code>Program</code>,
+ as the code gets written to a file named <code>Program.java</code>.
+ </p>
<form method="POST">
<input name="csrf" id="csrf-token" type="hidden" value="<?= htmlentities($csrf) ?>">
<textarea maxlength="<?= CODE_MAXLENGTH ?>" id="editor" name="code" rows="20"><?= htmlentities($code ?? $defaultCode) ?></textarea>