Skip to content

Can't build from source on Ubuntu 14.04 #26

@mig5

Description

@mig5

Trying to build from source on Ubuntu 14.04 with 'mvn clean install' per the README and getting an error related to javafx. Any ideas? Version issues?

I installed Java from Ubuntu repos with 'apt-get install default-jdk' which pulled down openjdk-7-jdk 7u65-2.5.1-4ubuntu1~0.14.04.2

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.trsst.client:trsst-client:jar:0.2-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for com.apple:eawt:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/eawt.jar will be unresolvable by dependent projects @ line 196, column 16
[WARNING] 'dependencies.dependency.systemPath' for com.oracle:javafx:jar refers to a non-existing file /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfxrt.jar @ line 259, column 18
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building trsst 0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading:….
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:37.757s
[INFO] Finished at: Thu Aug 28 03:07:31 EDT 2014
[INFO] Final Memory: 10M/24M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project trsst-client: Could not resolve dependencies for project com.trsst.client:trsst-client:jar:0.2-SNAPSHOT: Could not find artifact com.oracle:javafx:jar:2.2 at specified path /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/jfxrt.jar -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Linux 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 14.04 LTS

java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.14.04.2)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions