B4J Question JNetwork application close in Linux

Discussion in 'B4J Questions' started by Matteo Guallini, Apr 21, 2015.

  1. Matteo Guallini

    Matteo Guallini New Member


    I'm trying a simple application with JNetwork. In Windows 7 runs correctly but in Linux the main windows appears for a fraction of second and then close.

    Seems that the error occour in "Server.Initialize(23, "Server")"

    Someone are able to reproduce the problem? The example is in attachment.

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Moved to the questions forum.

    You have two options to see the crash logs:
    1. Connect to the computer with B4J-Bridge and run the app from the IDE.
    2. Run it from the command line with java -jar.

    You cannot open a port lower than 1024 without root permissions.
  3. Matteo Guallini

    Matteo Guallini New Member

    Thanks Erel,

    I've used port 2323 instead of 23 and the application runs correctly.
  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