B4J Question Problem with java...

Discussion in 'B4J Questions' started by stefanoxjx, Feb 11, 2015.

  1. stefanoxjx

    stefanoxjx Active Member Licensed User

    Hello, I've made a program with B4J and java 1.7.0_71
    upload_2015-2-11_10-17-33.png
    The program runs correctly with this version of java, but if I execute my program in another PC with another version of java, it didn't work correctly (graphics interface is different and program freeze)

    This is a snapshot of program executed widh java 1.7.0
    [​IMG]
    This is a snapshot of program executed with another version of java
    [​IMG]

    If I start to supposition that I don't know which version of java can be installed in the various PC, my question is: there is a possibility to resolve this problem?

    Any suggestion is good accepted :)
    Thanks.
    Regards.

    Stefano
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Java 8 interface looks different. It should not cause your program to freeze.
     
  3. stefanoxjx

    stefanoxjx Active Member Licensed User

    Hi Erel,
    if you look the snapshot that I've posted, you can see that with java 8 the numbers in list box don't appears, but this is the minor of my problems.
    Very important is that the program runs correctly with java 7, but with java 8 I can ensure you that the program freeze.
    My program is very stupid without any critical routine.
    The program must to download data through serial port from a device, parse the data and save into a file.
    I've tried my program in 3 computers:
    - One PC with Windows 7 (the same PC that I've used to develop the program) that have java 7 and 8.
    If I execute the program with java 7 there isn't any problem but with java 8 there is a problem.
    - One PC with Windows XP and java 8 (problem)
    - One PC with linux and java 8 (problem)
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Install Java 8 and debug this issue. See where it freezes.
    B4J is compatible with Java 8.
     
  5. stefanoxjx

    stefanoxjx Active Member Licensed User

    Hi Erel, I've made many test, but I confirm you that program compiled with java 7 is not compatible (at least my program) with java 8.
    With java 8, the program freezes during download from serial port but not always in same spot.
    If I execute my program with java 7, it work fine.
    I've solved with installation of java 7 together java 8 and creating a package with Launch4j with limit of java version 7.0.0_99

    Stefano
     
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