I am trying to run my javaFX app in cheerpj, and tried this html in windows

Here is my project https://github.com/ozkanpakdil/swaggerific only complexity is javafx in the project, probably I should provide javafx lib path to cheerpj but I could not find a way to do it, what should I do ?
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>CheerpJ test</title>
<script src="https://cjrtnc.leaningtech.com/4.1/loader.js"></script>
</head>
<body>
<script>
(async function () {
await cheerpjInit();
cheerpjCreateDisplay(800, 600);
await cheerpjRunJar("/target/swaggerific-0.0.3.jar");
})();
</script>
</body>
</html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>CheerpJ test</title>
<script src="https://cjrtnc.leaningtech.com/4.1/loader.js"></script>
</head>
<body>
<script>
(async function () {
await cheerpjInit();
cheerpjCreateDisplay(800, 600);
await cheerpjRunJar("/target/swaggerific-0.0.3.jar");
})();
</script>
</body>
</html>
GitHub
GitHub - ozkanpakdil/swaggerific: Alternative to postman with graal...
Alternative to postman with graalvm meaning native binary exe(windows) file or executable file for Linux and IOS - ozkanpakdil/swaggerific
No description
3 Replies
apignotti
apignotti4mo ago
JavaFX is not currently supported in CheerpJ. There is an open issue in GitHub already: https://github.com/leaningtech/cheerpj-meta/issues/1
apignotti
apignotti4mo ago
We plan to eventually support JavaFX as well, but it's a medium term goal
ozkan
ozkanOP4mo ago
thank you, I will be waiting

Did you find this page helpful?