@KMatle: this is a really good question. In fact, because of my lack of knowledge, I was not able to install a way to start the java files produced by B4J. In fact, I could have been able to install the packages on my Linux VPS with CLI but I wouldn't have been able to execute the apps...
But this thread gave me the idea to test the solution again
s1:~/www/b4j$ java -jar WebAppHelloWorld.jar
main._process_globals (java line: 69)
java.lang.UnsupportedClassVersionError: anywheresoftware/b4j/object/ServerWrapper : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.security.AccessController.doPrivileged(Native Method)
@Erel : I due you a lot of thanks because without your help I wouldn't have found that the OpenJDK was used instead of the Oracle one (I had installed Java via apt-get without the proprietary repositories). Now, with the help of that page, I was able to correct my installation.
And guess what : the Web App Hello World is running
Many, many thanks for that help because it opens a lot of possibilities
I can understand my reply was not exciting at all. Today I have updated a Customer's app including a sync function to a B4J server to save the apps preferences. 50 users were updated. The solution is running smoothly
See these two processes. ServerExample.jar process (which is a complex app with many examples, web socket handlers and regular servlets) is running for 4 months now. The memory usage is constant.
The second process is running for more than two months.
@KMatle : I have installed this first server on a VPS as a test drive. I will publish other projects on a dedicated one (which was not already configured to use the correct Java version at the time I had published).
@Erel : I do really thank you for the quality of your amazing products. Really