Finally my project start is ongoing, recently i had some problems with my maven build, so to use JavaFX you just need to add some lines here is working example of pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>FirstJavaFxApp</groupId>
<artifactId>FirstJavaFxApp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<description>simple JavaFx App</description>
<build>
<sourceDirectory>src</sourceDirectory>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<javafx>c:\JAVA\jdk8-131\jre\lib\ext\</javafx>
</properties>
<dependencies>
<dependency>
<groupId>com.oracle</groupId>
<artifactId>javafx</artifactId>
<version>8</version>
<systemPath>${javafx}/jfxrt.jar</systemPath>
<scope>system</scope>
</dependency>
</dependencies>
</project>
If you see big google ads banner just skip it and scroll further, thanks!
Sonntag, 4. März 2018
Maven and JavaFx
I love to write and configure software and i love testing.
Test driven development is my main tool to solve all software engineering problems.
I work by the agile manifesto: working software over comprehensive documentation.
Read more about here https://agilemanifesto.org
Test driven development is my main tool to solve all software engineering problems.
I work by the agile manifesto: working software over comprehensive documentation.
Read more about here https://agilemanifesto.org
Abonnieren
Kommentare zum Post (Atom)
Blog-Archiv
Blog readers favorites
-
This is a “prelude” to what I am planning to do next, as I wrote previously in my blog I have written a Oracle ADF application for my own ...
Keine Kommentare:
Kommentar veröffentlichen
All comments are pre moderated be polite and respectful!