B4J Question Need help for installing B4J application on Linux (ubuntu and Debian)

CR95

Active Member
Licensed User
In a closed thread, Nicolas Ciaramellano explained the process to install B4J application under Linux
So I copy in my Ubuntu directory :
1°) B4JPackager11.jar package (in a separate directory)
2°) jdk-11.0.1
3°) My B4JHowToJavaObject which was built by B4J in Objects directory after executing the "Build Stand Alone" command
4°) A JSON file with the command line : "InputJar": "B4JHowToJavaObject.jar"

In a terminal, I execute :
jdk-11.0.1/bin/java -jar B4JPackager11.jar packager.json

Result in an error message (translated from French) : impossible to run binary file : format error in exec



I made a second trial using "sudo". Result is as following



What is wrong ?
Thanks in advance
 

Attachments

  • Capture d’écran de 2020-06-07 09-27-44.png
    43.2 KB · Views: 250

MicroDrie

Well-Known Member
Licensed User
Longtime User
Perhaps the file misses the right to be execute as a program? (right click on the file, properties and rights)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…