B4J Question B4JPackager11 looses jawtRobot RobotPaste functionality

Discussion in 'B4J Questions' started by David Meier, Feb 24, 2019.

  1. David Meier

    David Meier Active Member Licensed User

    Hi
    I am using jAWTRobot and RobotPaste.

    The generated .jar file pastes a copies strings correctly. After packaging with B4JPackager11 pasting no longer works.

    The used file AutoPaste.jar is from the example from ThRuST

    Thanks for any help!

    PS: Cannot upload the build files from the packager because they are to big
    I attach the jason though, just delete suffix .txt
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

    Does it work with Java 11 without the packager?
     
  3. David Meier

    David Meier Active Member Licensed User

    Quite right, it is not working with Java 11.
     
  4. David Meier

    David Meier Active Member Licensed User

    Summary:
    There are apps that won't run with Java 11 and therefore one should not use B4JPackager11 -> test that out carefully. It can be that you have a different active JRE than JDK though! Keep attention here, check in the console and launch the .jar file from the console with Java 11 to be sure.
    Command for checking Java:
    Code:
    /usr/libexec/java_home -V
    If the app is not running with Java 11 then
    use B4JPackager instead (keep in mind that most probably the user needs to install the created installer in administrator mode)
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You should only use B4JPackager11 after you tested your app with Java 11 from the IDE.
     
    David Meier likes this.
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