diff --git a/src/lib/CheerpJ.svelte b/src/lib/CheerpJ.svelte
index 98cb43a..bb4a753 100644
--- a/src/lib/CheerpJ.svelte
+++ b/src/lib/CheerpJ.svelte
@@ -10,7 +10,6 @@
async function startCheerpj() {
await cheerpjInit({
status: 'none',
- javaProperties: ['java.library.path=/app/cheerpj-natives/natives']
});
const display = document.getElementById("output");
cheerpjCreateDisplay(-1, -1, display);
@@ -24,7 +23,7 @@
cjConsole.innerHTML = '';
cjOutput.innerHTML = '';
- const classPath = '/app/tools.jar:/app/lwjgl-2.9.0.jar:/app/lwjgl_util-2.9.0.jar:/files/';
+ const classPath = '/app/tools.jar:/files/';
const sourceFiles = $files.map((file) => '/str/' + file.path);
const code = await cheerpjRunMain(
'com.sun.tools.javac.Main',
diff --git a/src/lib/repl/Output.svelte b/src/lib/repl/Output.svelte
index 6469609..485b222 100644
--- a/src/lib/repl/Output.svelte
+++ b/src/lib/repl/Output.svelte
@@ -5,9 +5,6 @@
import Loading from '$lib/Loading.svelte';
let cjConsole: HTMLPreElement;
- let lwjglCanvas: HTMLCanvasElement;
-
- $: if (lwjglCanvas) window.lwjglCanvasElement = lwjglCanvas;
@@ -35,7 +32,6 @@
diff --git a/static/cheerpj-natives b/static/cheerpj-natives
deleted file mode 160000
index 1b43167..0000000
--- a/static/cheerpj-natives
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 1b4316708447ee655658dc6618430b692e2d34ca
diff --git a/static/examples/lwjgl/Main.java b/static/examples/lwjgl/Main.java
deleted file mode 100644
index d760ae4..0000000
--- a/static/examples/lwjgl/Main.java
+++ /dev/null
@@ -1,46 +0,0 @@
-// Example using LWJGL 2.9.0
-// Warning: experimental!
-
-import org.lwjgl.LWJGLException;
-import org.lwjgl.opengl.Display;
-import org.lwjgl.opengl.DisplayMode;
-import org.lwjgl.opengl.GL11;
-
-public class Main {
- public static void main(String[] args) {
- try {
- Display.setDisplayMode(new DisplayMode(800, 600));
- Display.setTitle("Triangle Example");
- Display.create();
- } catch (LWJGLException e) {
- e.printStackTrace();
- System.exit(1);
- }
-
- // Initialize OpenGL
- GL11.glMatrixMode(GL11.GL_PROJECTION);
- GL11.glLoadIdentity();
- GL11.glOrtho(0, 800, 0, 600, 1, -1);
- GL11.glMatrixMode(GL11.GL_MODELVIEW);
-
- while (!Display.isCloseRequested()) {
- // Clear the screen
- GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
-
- // Draw a triangle
- GL11.glBegin(GL11.GL_TRIANGLES);
- GL11.glColor3f(1.0f, 0.0f, 0.0f); // Red
- GL11.glVertex2f(400, 100);
- GL11.glColor3f(0.0f, 1.0f, 0.0f); // Green
- GL11.glVertex2f(100, 500);
- GL11.glColor3f(0.0f, 0.0f, 1.0f); // Blue
- GL11.glVertex2f(700, 500);
- GL11.glEnd();
-
- Display.update();
- }
-
- Display.destroy();
- }
-
-}
diff --git a/static/lwjgl-2.9.0.jar b/static/lwjgl-2.9.0.jar
deleted file mode 100644
index 4cb7cda..0000000
Binary files a/static/lwjgl-2.9.0.jar and /dev/null differ
diff --git a/static/lwjgl_util-2.9.0.jar b/static/lwjgl_util-2.9.0.jar
deleted file mode 100644
index c055bff..0000000
Binary files a/static/lwjgl_util-2.9.0.jar and /dev/null differ