Open mig5 opened 10 years ago
The project seems to require Oracle's JDK for compiling at this time. It might not need the Oracle distribution at runtime, and I'm sure someone else can chime in on that.
I wonder if it's on the roadmap to transition Trsst to the OpenJDK version of JavaFX, with differences discussed here: http://stackoverflow.com/questions/18547362/javafx-and-openjdk . It doesn't sound like it'd be a big deal, at least IMHO.
In the immediate term, if you're just trying to run the application, you can download the pre-compiled binaries/executables here: https://github.com/TrsstProject/trsst/releases/tag/v0.2.6
To compile at this time, it looks like you need to compile it with the Oracle JDK on your classpath instead of the OpenJDK.
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)