You are not logged in.

#1 2019-07-19 02:16:38

cavernico
Member
Registered: 2019-07-18
Posts: 9

Error compiling a package with gradle

Hello, this is my first time posting something in the forum, please be gentle.

   I use in a VM with windows on it a package named logfly, and i would like to use it in my Arch machine,  https://github.com/giloutho/Logfly, is to track and prepare paragliding flights or other flight sports like hangliding or paramotor etc. I'm trying to compile it and make a PKGBUIKD out of this, the thing is that i dont know how to handle ir, the author said that should run

 gradle build 

but the output that i have is

 FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'logfly'.
> Couldn't find Ant-JavaFX-library, please make sure you've installed some JDK which includes JavaFX (e.g. OracleJDK or OpenJDK and OpenJFX), and JAVA_HOME is set properly.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5-20190701220625+0000/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 486ms

I assume the package is old and deprecated, there is a .deb package as well in http://logfly.org//download/logfly5/logfly5.deb I tried to use the binaries but no luck, there is just a first windows that let you choose the language and then nothing.

If somebody could help me to run this thing and then i can create my PKGBUILD by myself like a grown up.

Last edited by cavernico (2019-07-19 02:18:54)

Offline

#2 2019-07-19 02:22:44

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Error compiling a package with gradle

 Couldn't find Ant-JavaFX-library, please make sure you've installed some JDK which includes JavaFX (e.g. OracleJDK or OpenJDK and OpenJFX), and JAVA_HOME is set properly.

Did you give that a shot?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-07-19 22:49:38

cavernico
Member
Registered: 2019-07-18
Posts: 9

Re: Error compiling a package with gradle

jasonwryan wrote:
 Couldn't find Ant-JavaFX-library, please make sure you've installed some JDK which includes JavaFX (e.g. OracleJDK or OpenJDK and OpenJFX), and JAVA_HOME is set properly.

Did you give that a shot?

i have all this installed in my system.

nico@Arch-Nico ~ % pacman -Qs java
local/ca-certificates-utils 20181109-1
    Common CA certificates (utilities)
local/cjs 4.2.0-1
    Javascript Bindings for Cinnamon
local/java-environment-common 3-1
    Common files for Java Development Kits
local/java-runtime-common 3-1
    Common files for Java Runtime Environments
local/jdk-openjdk 12.0.1.u12-1
    OpenJDK Java 12 development kit
local/jre-openjdk 12.0.1.u12-1
    OpenJDK Java 12 full runtime environment
local/jre-openjdk-headless 12.0.1.u12-1
    OpenJDK Java 12 headless runtime environment
local/jre10-openjdk 10.0.2.u13-2
    OpenJDK Java 10 full runtime environment
local/jre10-openjdk-headless 10.0.2.u13-2
    OpenJDK Java 10 headless runtime environment
local/js52 52.9.0-3
    JavaScript interpreter and libraries - Version 52
local/js60 60.7.2-1
    JavaScript interpreter and libraries - Version 60
local/log4cplus 2.0.4-1
    A C++ logger very close to Java's log4j
local/nodejs 11.15.0-1
    Evented I/O for V8 javascript
local/npm 6.10.0-1
    A package manager for javascript
local/openjdk-src 12.0.1.u12-1
    OpenJDK Java 12 sources
local/qt5-declarative 5.13.0-1 (qt qt5)
    Classes for QML and JavaScript languages
local/qt5-webchannel 5.13.0-1 (qt qt5)
    Provides access to QObject or QML objects from HTML clients for seamless
    integration of Qt applications with HTML/JavaScript clients

Offline

#4 2019-07-20 10:06:28

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: Error compiling a package with gradle

please make sure you've installed some JDK which includes JavaFX

emphasis by me

post output of

$ pacman -Ss javafx

Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2019-07-20 16:33:49

cavernico
Member
Registered: 2019-07-18
Posts: 9

Re: Error compiling a package with gradle

% pacman -Ss javafx                                                            :(
extra/java-openjfx 8.u172-2
    Java OpenJFX 8 client application platform (open-source implementation of JavaFX)
extra/java-openjfx-doc 8.u172-2
    Java OpenJFX 8 client application platform (open-source implementation of JavaFX) - documentation
extra/java-openjfx-src 8.u172-2
    Java OpenJFX 8 client application platform (open-source implementation of JavaFX) - sources

Apparently i dont have those installed, i will try and post if any advance.

Offline

#6 2019-07-20 17:39:32

cavernico
Member
Registered: 2019-07-18
Posts: 9

Re: Error compiling a package with gradle

after install those

 % pacman -Ss jfx                                          :(
extra/java-openjfx 8.u172-2 [installed]
    Java OpenJFX 8 client application platform (open-source implementation of JavaFX)
extra/java-openjfx-doc 8.u172-2
    Java OpenJFX 8 client application platform (open-source implementation of JavaFX) - documentation
extra/java-openjfx-src 8.u172-2 [installed]
    Java OpenJFX 8 client application platform (open-source implementation of JavaFX) - sources

But nothing changes, i tried to correct the path to JAVA HOME but nothing change.

% echo $JAVA_HOME                                  :(
/usr/lib/jvm/java-12-openjdk

Offline

Board footer

Powered by FluxBB