Modernized Judge0 v1.13: GCC 14, Node 22, Java 21 & MySQL JDBC Support for DBMS Assessments
2.6K
A battle-tested, modernized distribution of Judge0 v1.13.0 engineered for modern university computer science curricula, coding bootcamps, and technical interview assessments.
Default Judge0 distributions ship with outdated compilers (GCC 9, Node 12, Python 3.8) and completely lack database connectivity. This image provides up-to-date compilers and native MySQL JDBC connector integration for running automated SQL/DBMS programming exams.
/usr/local/lib/mysql-connector.jar loaded into the Java classpath for interactive database coursework and automated grading.| Language ID | Runtime / Compiler | Source File | Run Command Summary |
|---|---|---|---|
| 201 | C (GCC 14) | main.c | Modern GCC 14 with C23 standard |
| 202 | C++ (GCC 14) | main.cpp | Modern G++ 14 with C++20/C++23 |
| 203 | Java (OpenJDK 17 LTS) | Main.java | Standard OpenJDK 17 |
| 204 | Python (3.11) | script.py | Modern CPython 3.11 |
| 205 | Java (OpenJDK 21 LTS) | Main.java | Standard OpenJDK 21 |
| 206 | JavaScript (Node.js 22) | script.js | Modern Node.js LTS |
| 207 | TypeScript (Node.js 22) | script.ts | Modern TypeScript compiler |
| 62 | Java (JDBC Enabled) | Main.java | Uses -cp ".:/usr/local/lib/mysql-connector.jar" |
(Legacy languages IDs 46–74 remain active for backwards compatibility).
Add this image as your Judge0 server and worker replacement:
version: '3.8'
services:
server:
image: mrmohitrajdeo/judge0-jdbc:v5.1
command: ["./scripts/server"]
ports:
- "2358:2358"
restart: always
environment:
- REDIS_HOST=redis
- POSTGRES_HOST=db
workers:
image: mrmohitrajdeo/judge0-jdbc:v5.1
command: ["./scripts/workers"]
privileged: true
restart: always
environment:
- REDIS_HOST=redis
- POSTGRES_HOST=db
Submitting Java code that queries MySQL works out of the box using Language ID 62:
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.Statement;
public class Main {
public static void main(String[] args) {
String url = "jdbc:mysql://mysql-db:3306/exam_db";
try (Connection con = DriverManager.getConnection(url, "user", "password");
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("SELECT 'Connection Successful' AS status")) {
if (rs.next()) {
System.out.println(rs.getString("status"));
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
If you run high-concurrency exams (1,000+ students) or live AI evaluation workloads, standard Docker execution hits a severe container daemon bottleneck (~2.5s for 50 test cases).
For enterprise performance, check out NEPHIS bare-metal primitives:
Eschaton: 38.2ms warm RAM cache execution, 403 req/s batch fan-out (Judge0 drop-in).
Thanaton: 6.2ms Linux KVM microVMs for untrusted code sandboxing.
Mnemon-DB: 31.2ms PostgreSQL zero-copy database branching via XFS CoW reflink.
⚡ Official Systems Fabric: https://nephis.theeducode.com
🌐 Architect Portfolio: https://mohitrajdeo.in
💻 GitHub: https://github.com/mohitrajdeo
📬 Contact: [email protected]
Content type
Image
Digest
sha256:69283f652…
Size
4.3 GB
Last updated
6 months ago
docker pull mrmohitrajdeo/judge0-jdbc