Description of problem: I've installed the Facturae application, and no works in Mageia 7 plasma x64. I've aplicated the java configuration, with openjdk and jre (official java), but the application no boot. In konsole appears: Advertencia: No fue posible iniciar «/home/jose/Facturae3.4/run.sh» con los argumentos «/home/jose/Facturae3.4/run.sh». Advertencia: execve: Formato de ejecutable incorrect Version-Release number of selected component (if applicable): Mageia 7.1 - Java Openjdk and Jre - Facturae How reproducible: Download and install Facturae application Steps to Reproduce: 1. Download and install Facturae: https://www.facturae.gob.es/formato/Paginas/descarga-aplicaciones.aspx. 2. Configure java machine and java configuration (If it doesn't configurated) 3. Boot Facturae.
It's important for me that this runs, because I can't work with the electronic invoice that the public administrations claim. Greetings and anticipated thanks for your support!!
Can you give the output of file /home/jose/Facturae3.4/run.sh as well as attach that file to this report ? Also, are you using the MGA openjdk or installing one of your own, and what "configuration" are you doing ?
CC: (none) => ftg
We don't provides Facturae package in our repo. We can't fixed a package that we don't have, sorry... Please close this bug as Invalid.
CC: (none) => geiger.david68210
I undestand this, but I think that this bug is relacionated with java openjdk version of Mageia, thah It doesn't working fine with this application. Is there any chance of java jdk upgrade in Mageia?
Please provide the information requested. This has nothing to do with Java or the Java version. The message indicates that the run.sh "executable" has an invalid format. While the .sh extension is customary for Unix scripts, the script may have a starting #! tag that names a shell you don't have installed, e. g. zsh/csh (which we don't install be default). If that's the case, you may get it to work just by installing that shell. Beyond that, you're on your own.
(In reply to David GEIGER from comment #3) > We don't provides Facturae package in our repo. > We can't fixed a package that we don't have, sorry... > Please close this bug as Invalid. Doing. @Jose : you can still add comments, like answering Frank's questions; he is trying to help.
Status: NEW => RESOLVEDCC: (none) => lewyssmithResolution: (none) => INVALID
Sorry, I have to test it from the office computer. Today, I have tried one thing... I open konsole, and go to path "/home/jose/Facturae3.4" and I ejecute "./run.sh"... and voylá, the application runs perfectly. But, from aplication shorcut no runs. The shorcut configuration ejecutable in "Aplication section" is "/home/jose/Facturae3.4/run.sh" and it is enable "Run in terminal". Why not start from the application shortcut?
Resolution: INVALID => (none)Status: RESOLVED => REOPENED
Yeeaahhh, I have the solution. It seems that everything comes by the way you load java bookstores. In java the libraries (classes) are loaded from the paths specified in a variable called java_classpath. Normally that variable is assigned by the virtual machine when it runs. Facturae, how not installed, possibly looks for libraries in those system paths where they are not and in the directory from which it is executed. You have to modify the path in the application shortcut to this: JAVA_CLASSPATH=/home/usuario/Facturae3.4:$JAVA_CLASSPATH ~/Facturae3.4/run.sh Considering that the Facturae installation creates by default the directory /home/user/Facturae3.4 Very Thanks for your attention anyway!!
Resolution: (none) => FIXEDStatus: REOPENED => RESOLVED