-2

I have a Java project which useses Intellij form to display a window application with external dependency but I tired following method to create executable JAR then it is getting executed (not even error message)

File>Project structure>artifacts> + >JAR woth dependency >OK Build > Build artifacts > JAR will be created then double click ---> no output

My file structure:

Project abc
----+src
-------+main
------------+java
-----------------class1.java
-----------------+pack
---------------------->class2.java
---------------------->feature.form
-------------+resources
----------------->jar1.jar
  • See https://stackoverflow.com/a/42200519/104891. If it doesn't help, please share the [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve). – CrazyCoder Sep 24 '19 at 18:26
  • Thanks @CrazyCoder but it didnt help – Rahul Rajan Sep 26 '19 at 19:02
  • In this case you need to provide the [Minimal, Complete, and Verifiable example](https://stackoverflow.com/help/mcve) to get further assistance. – CrazyCoder Sep 26 '19 at 19:03
  • Your question lacks the details to get the good answer. When asked for details, you've ignored the request. Now you blame us for not helping. It makes no sense. – CrazyCoder Sep 26 '19 at 19:12

1 Answers1

-1

I have found a way if you are creating a window using Intellij 'form' then better make your class extend Application (javafx class) and call the form in the launch method.

then follow search in google create javafx jar with intellij