cant build javafx project

Java FX Packager: Can't build artifact - fx:deploy is not available in this JDK this is the error i get but i dont understand what fx:deploy is
15 Replies
JavaBot
JavaBot9mo ago
This post has been reserved for your question.
Hey @asdru! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
asdru
asdruOP9mo ago
I am using maven
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
asdru
asdruOP9mo ago
I saw there's a maven plugin called shade that can make the jar but i cant find the download for it
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
asdru
asdruOP9mo ago
i tried putting it there but got this warning
No description
asdru
asdruOP9mo ago
is this correct?
No description
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
asdru
asdruOP9mo ago
oh i didnt notice
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<transformers>
<transformer implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.game.hangman.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<shadedArtifactAttached>true</shadedArtifactAttached>
<transformers>
<transformer implementation=
"org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.game.hangman.Main</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
i need to add this to the pom file, but maybe the version inst correct since its not loading properly
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
asdru
asdruOP9mo ago
i want to make the project jar, since the project is already build with maven i assumed that shade was the best way to do this, the xml snippet i sent was from a tutorial i found yeah i fixed that no idea where that came from
Unknown User
Unknown User9mo ago
Message Not Public
Sign In & Join Server To View
asdru
asdruOP9mo ago
ok, thanks for the help
JavaBot
JavaBot9mo ago
If you are finished with your post, please close it. If you are not, please ignore this message. Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts. 💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server