B4J Tutorial Remote debugging with B4J-Bridge

Discussion in 'B4J Tutorials' started by Erel, Mar 13, 2014.

  1. jcohedman

    jcohedman Member Licensed User

    Hi, it works!
    but... in "Debug" mode don't, "Error: JavaFX runtime components are missing, and are required to run this application"
    and in Release mode, if I write in the rpi: sudo /home/pi/jdk8/bin/ java -jar "my_app".jar, it is working.
    What can be wrong?
    thanks in advance.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Which computer are you using?
     
  3. jcohedman

    jcohedman Member Licensed User

    hi, with this statement: sudo /home/pi/jdk8/bin/java -jar b4j-bridge.jar runs ok!
     
  4. MbedAndroid

    MbedAndroid Active Member Licensed User

    there is no way to debug on distance? even when i set the portforward?
    I tried to insert a external Ip adress but that isnt accepted
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    It is possible.
    What is not accepted? Make sure to enter the ip address and not the host name.
     
  6. MbedAndroid

    MbedAndroid Active Member Licensed User

    ok, i see
    if i start to enter a new Ip, you will get "invalid adress" until i entered all the numbers.

    thought it was already rejected on the the first group of the ip number

    sorry
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    B4J-Bridge v2.20 was released. It includes an built-in FTP server. This makes it simpler to download or upload files to the remove computer.

    [​IMG]

    Note that you can disable the FTP server with the -disableftp parameter:
    Code:
    java -jar b4j-bridge -disablefto
     
  8. Starchild

    Starchild Active Member Licensed User

    Great addition.

    I successfully tried using FTP FileZilla to access my remote Linux development box (ubuntu) using the FTP server of b4j-bridge v2.20.

    Works great, but it is limited by the available root on the Linux box being the TempJars folder.

    It would be useful to be able to move higher up the directory tree so the b4j-bridge FTP server could be used to access other directories/files. Maybe another command line switch.

    Anyway, it's a very simple and useful addition for quickly moving application support files onto the Linux box.

    Thanks.
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    B4J-Bridge v1.42 released. Adds support for Java 11.
     
    stevel05 likes this.
  10. Don Oso

    Don Oso Active Member Licensed User

    B4j-bridge v1.42 fails in Ubuntu 16.04 with just java 8 installed its possible to upload the version who works with java 8?

    Thanks

    upload_2018-12-5_18-5-26.png
     
  11. Don Oso

    Don Oso Active Member Licensed User

    I found in my backup projects the source code of b4j-bridge v1.20 .. now im running.
     
    Last edited: Dec 5, 2018
  12. Erel

    Erel Administrator Staff Member Licensed User

    B4J-Bridge v1.43 released. Same as v1.42 but compiled with Java 8 to make it compatible with Java 8+.
     
Loading...
  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