hi
so i finished my webapp using b4j and looks really cool. now i have 2 question.
currently i am starting the server with a script (start.bat)
q1: java folder is in the same folder as server.jar and inside is bin + lib folder.
everything works fine but i dont like that a cmd window is opened when i run the server and stays open. i would like the server to run in background the same way when you run in the ide in release mode the server starts and you dont have any cmd windows. so what is the best way to do it? OS is currently WINDOWS 11 (may change in the future)
q2: what exactly are the necessary folders i need to include to the project so i can put it in any pc running windows without the need to install java jdk. so what i found out is bin + lib works but they are 200mb+ together. any way to make the necessary folder smaller and still run it as standalone server?
current folder structure:
thanks!
so i finished my webapp using b4j and looks really cool. now i have 2 question.
currently i am starting the server with a script (start.bat)
B4X:
java\bin\java -jar server.jar
q1: java folder is in the same folder as server.jar and inside is bin + lib folder.
everything works fine but i dont like that a cmd window is opened when i run the server and stays open. i would like the server to run in background the same way when you run in the ide in release mode the server starts and you dont have any cmd windows. so what is the best way to do it? OS is currently WINDOWS 11 (may change in the future)
q2: what exactly are the necessary folders i need to include to the project so i can put it in any pc running windows without the need to install java jdk. so what i found out is bin + lib works but they are 200mb+ together. any way to make the necessary folder smaller and still run it as standalone server?
current folder structure:
thanks!