B4J Question jServer - graphic processing on a non-desktop ?

Discussion in 'B4J Questions' started by wl, May 5, 2019.

  1. wl

    wl Well-Known Member Licensed User


    I almost finished my offline geocode library and have it run in a webserver for easy testing.

    One of the thing the library can do is to plot a country/countries. For this it used the B4XCanvas etc, which needs FX...

    However, I want to run this server also on a console only Ubuntu VPS. Is there any way to work with bitmaps, canvas etc on a non-desktop environment, so that the server could create an image on the-fly and serve it to the (web)client ?

    I understood , while going through other forum posts, that this is impossible ?

  2. Erel

    Erel Administrator Staff Member Licensed User

    You shouldn't use jFX library in non-ui apps. One possible solution is to create a UI application and start it with jShell. The UI application doesn't really need to show anything.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice