#Module Not Found, when doing "mvn clean install"
1 messages · Page 2 of 1
use> Exception in thread "JavaFX Application Thread" java.lang.IllegalAccessError: class com.sun.javafx.embed.swing.SwingNodeHelper (in unnamed module @0x6a6681f1) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.util to unnamed module @0x6a6681f1
this comes when having both
java %VMARGS% --module-path "C:\Program Files\Java\openjfx-19_windows-x64_bin-sdk\javafx-sdk-19\lib" --add-modules javafx.controls,javafx.fxml,javafx.web --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED,javafx.graphics/com.sun.javafx.embed.swing=ALL-UNNAMED -jar %USE_JAR% -nr %*
idk if I can do , between them
I guess so would make sense
Another --add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED
You can find it from the error message
the issue is I have no idea how many you need
It could be a lot
WARNING: Unknown module: javafx.graphics/com.sun.javafx.embed.swing=ALL-UNNAMED specified to --add-exports
WARNING: Unknown module: javafx.graphics/com.sun.javafx.util=ALL-UNNAMED specified to --add-exports
USE version 7.1.1, Copyright (C) 1999-2024 University of Bremen & University of Applied Sciences Hamburg
Invalid extension directory 'C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX/oclextensions'
Error: Could not read plugin directory `C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\lib\plugins'.
use> Exception in thread "JavaFX Application Thread" java.lang.IllegalAccessError: class com.sun.javafx.embed.swing.SwingNodeHelper (in unnamed module @0x45d72b0d) cannot access class com.sun.javafx.util.Utils (in module javafx.graphics) because module javafx.graphics does not export com.sun.javafx.util to unnamed module @0x45d72b0d ```
ah so you get it from the message
but this seems odd
WARNING: Unknown module: javafx.graphics/com.sun.javafx.embed.swing=ALL-UNNAMED specified to --add-exports
WARNING: Unknown module: javafx.graphics/com.sun.javafx.util=ALL-UNNAMED specified to --add-exports
It might be possible to do it in a way that doesn't require any --add-exports and no JavaFX SDK by telling Maven to include the stuff for Windows, MacOS and Linux in the JAR
What exactly did you put in the JAR?
yes
Essentially you could add <classifier>win</classifier> to all JaavFX dependencies and then it would work for Windows
and then you could just run it with java -jar and don't need to do anything with modules - maybe
win for the winners haha
il try that out
The important thing when doing that is the following: Don't run it with --module-path, --add-modules or --add-exports
so this one
:runApp
java %VMARGS% --module-path "C:\Program Files\Java\openjfx-19_windows-x64_bin-sdk\javafx-sdk-19\lib" --add-modules javafx.controls,javafx.fxml,javafx.web --add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED,javafx.graphics/com.sun.javafx.embed.swing=ALL-UNNAMED,javafx.graphics/com.sun.javafx.util=ALL-UNNAMED -jar %USE_JAR% -nr %*
would look like this?
:runApp
java %VMARGS% -jar %USE_JAR% -nr %*
you mean like this:
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>17.0.13</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>17.0.13</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>17.0.13</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-web</artifactId>
<version>17.0.13</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-media</artifactId>
<version>17.0.13</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-swing</artifactId>
<version>17.0.13</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
yes
and run mvn package or mvn verify before running the JAR
btw can I deleat this now:
ok
since I think you did say we dont need it anymore
mvn clean automatically deletes it btw
did you fix it?
ah okey
kind of, we are trying something out
did you check if your javafx versions match the version on your project?
not really the problem
I think dan1t would have realized that problem after 5 messages haha
I wish it would be just that haha
@dusky abyss
C:\Users\akifn\Desktop\MyProjects\java\useTesting>use-guiFX\src\main\resources\binFX\useFX.bat
Fehler: Zum Ausführen dieser Anwendung benötigte JavaFX-Runtime-Komponenten fehlen
well probably, but I just ran into this issue literally 2 days ago and it resulted in the exact same problem you are experiencing so it was worth a shot
it says it needs the needed javafx-runtime-components which are mising
Did you run mvn package before running the bat file?
:runApp
java %VMARGS% -jar %USE_JAR% -nr %*
when I called it like this
I did mvn verify
yes that's fine
ah I see thank you still
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.
glad to hear yours got fixed
so i guess the classifier>win< wont work here?
Can you show the pom.xml?
I've ran into this before too. This might sound weird but did you try making a new main class that just calls the main in your application that calls launch? It did the trick for me.
my problem is kind of a bit bigger to be fixed jut this way sadly
it a problem with swing/javafx and the project being Multi Module
just give it a try, it will take you around 30 seconds and can be easily reversed. My project was multi module too with javafx
it was a real odd solution and to this day I have no idea why it worked
thats the best problems when you get them fixed and really dont know whats happening haha
the "proper" solution would be the thing with copying dependencies - or jlink
but the issue with that is split packages
yup
I see yeah the split packages issue we had
which could in theory also be solved with extracting the offending dependency
which would be doable but kinda annoying
alright il stick with mvn for now than
I can tell you something that can be done:
You can change the guiFX pom.xml to do the following:
- When
mvn packageis executed, it runsdependency:copybut excludes xercesImpl - It extracts xercesImpl but removes the class causing the split package issue
And then in your bat, you can run the project with--module-pathon: - The JAR generated by
mvn package(not the jar-with-dependencies) - The copied dependencies
- The extracted dependency
So essentially do some changes to the guiFX pom.xml and change the bat a bit
alright I will note this down for now and check it out later definetly
for now I reached something big, which was getting this problem "fixed" since I wasnt able to run from cmd since 2 weeks
@dusky abyss if I should have questions or problems can I msg you or should I just post it in #1023632039829831811 again?
You can create a post again
or if you don't close this post, you can still use it
ah posts are there forever?
If you want to, I can show you what I think this would look like
like "inactive"
yeah sure would like to see
Posts can go dormant after some time of inactivity but the post would stay there
but it may be harder to find
alright Il reach out here then!
your such a life saver man thank you very much
🤍
JavaBot is so sick of me haha
btw do you know how I can get rid of these long messages:
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<id>copy-deps</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<excludeArtifactIds>xercesImpl</excludeArtifactIds>
</configuration>
</execution>
<execution>
<id>unpack-xercesImpl</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</artifactItem>
</artifactItems>
<excludes>
<exclude>org/w3c/dom/html/*</exclude>
</excludes>
<outputDirectory>${project.build.directory}/xercesImpl</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
Then you build it with mvn package (or mvn verify)
ah thats what these xerces do
and then you should theoretically be able to run it with a bat like
@echo off
if "%OS%"=="Windows_NT" @setlocal
rem CONFIGURATION
rem Add -Xss20m to VMARGS when using the generator
set VMARGS=
REM PATH1: C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-gui\target\use-guiFX-7.1.1.jar
REM PATH2: C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-gui\target\use-guiFX-jar-with-dependencies.jar
REM set USE_JAR="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\use-guiFX-jar-with-dependencies.jar"
set USE_JAR="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\use-guiFX.jar"
set USE_DEPENDENCIES="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\dependency"
set USE_UNPACKED="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\xercesImpl"
IF NOT EXIST %USE_JAR% (
echo Cannot find USE executable. Please provide correct path to use.jar.
goto end
)
:runApp
java %VMARGS% --module-path "%USE_JAR%;%USE_DEPENDENCIES%;%USE_UNPACKED%" org.tzi.use.mainFX.MainFX -nr %*
REM java %VMARGS% --module-path "C:\Program Files\Java\openjfx-19_windows-x64_bin-sdk\javafx-sdk-19\lib" --add-modules javafx.controls,javafx.fxml -jar %USE_JAR% -nr %*
if "%OS%"=="Windows_NT" @endlocal
:mainEnd
rem echo exit code: %ERRORLEVEL%
:end
xercesImpl was the dependency causing the issue with org.w3c.dom.html.
This step would change it so that this part would not be included.
btw that would need to be in the guiFX POM
Does that approach work like that? idk I didn't test it
yes yes got that
maybe I also messed up some configs, I jsut typed that out
idk I would need to test it out later
but it looks good
Also practically you'd probably want to put all these things together in some directory (with the bat file) which you can then give to others who can just run it
you mean the whole project?
I guess you mean my javafx part
only the things generated there meaning:
use-guiFX/target/dependencyuse-guiFX/target/use-guiFX-YOUR_VERSION_HERE.jaruse-guiFX/target/xercesImpluse-guiFX/src/main/resources/bin
these would (ideally) be required
I am back faster then I thought haha
sooo I realized a big flaw of our solution, so the other solution allows parameters to be added to the .bat call like this for example:
use-gui\src\main\resources\bin\use.bat C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-core\src\main\resources\examples\Documentation\Fruits\Fruits.use
our call with mvn, would that somehow support something like that?
@ECHO OFF
rem This proxy batch file is needed for the BAD tests in /test/state
rem %* = all command line arguments
rem %~dp0 = pathname of this batch file
call "%~dp0\start_use.bat" %*
so the %* it could contain a few parameters
yes, that's possible
I think you can do mvn exec:java ... -Dexec.args="%*"
or similar
if these are separated by spaces
mvn -pl use-guiFX exec:java -Dexec.mainClass=org.tzi.use.mainFX.MainFX
so here how would i do that here?
mvn -pl use-guiFX exec:java -Dexec.mainClass=org.tzi.use.mainFX.MainFX -Dexec.args="%*"
idk whether %* is the right thing
ah so another dexec
I see thank you il test
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.
-Da=b means "tell maven that a is set to b"
yeah %* should be correct
so you are setting exec.args to whatever is %*
that I will try to find out
So when i add it like this:
:runApp
mvn -pl use-guiFX exec:java -Dexec.mainClass=org.tzi.use.mainFX.MainFX -Dexec.jvmArgs="%VMARGS%" -Dexec.args="%*"
I get following:
java.lang.NullPointerException: in
(MainWindowFX.java:159)
which is this:
if (fSession != null && fSession.hasSystem()) {
fModelBrowser.setModel(fSession.system().model());
} ```
inside MainWindowFX
This message has been formatted automatically. You can disable this using /preferences.
it means that fModelBrowser is null
btw for development, you can just run the main from IntelliJ
idk its just a feature that should be there, but I will see if its ok this way
btw I pinned that so you can easily find the message if you want to come back to that in the future
Ah thats great Thank You bro, I will definetly come here a few times, bcs need to document properly what we did here and what I tryed 
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.
Idk seems to be not working kind of
Idk why but it says that packages arent visible
What's your full bat file?
@echo off
if "%OS%"=="Windows_NT" @setlocal
rem CONFIGURATION
rem Add -Xss20m to VMARGS when using the generator
set VMARGS=
REM PATH1: C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-gui\target\use-guiFX-7.1.1.jar
REM PATH2: C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-gui\target\use-guiFX-jar-with-dependencies.jar
set USE_JAR="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\use-guiFX-jar-with-dependencies.jar"
set USE_DEPENDENCIES="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\dependency"
set USE_UNPACKED="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\xercesImpl"
IF NOT EXIST %USE_JAR% (
echo Cannot find USE executable. Please provide correct path to use.jar.
goto end
)
:runApp
java %VMARGS% --module-path "%USE_JAR%;%USE_DEPENDENCIES%;%USE_UNPACKED%" use-guiFX/src/main/java/org/tzi/use/mainFX/MainFX.java -nr %*
REM mvn -pl use-guiFX exec:java -Dexec.mainClass=org.tzi.use.mainFX.MainFX -Dexec.jvmArgs="%VMARGS%" -Dexec.args="%*"
REM mvn -pl use-guiFX javafx:run
REM java %VMARGS% --module-path "C:\Program Files\Java\openjfx-19_windows-x64_bin-sdk\javafx-sdk-19\lib" --add-modules javafx.controls,javafx.fxml,javafx.web -jar %USE_JAR% -nr %*
if "%OS%"=="Windows_NT" @endlocal
:mainEnd
rem echo exit code: %ERRORLEVEL%
:end
and the pom.xml of the guiFX module
@echo off
if "%OS%"=="Windows_NT" @setlocal
rem CONFIGURATION
rem Add -Xss20m to VMARGS when using the generator
set VMARGS=
REM PATH1: C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-gui\target\use-guiFX-7.1.1.jar
REM PATH2: C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-gui\target\use-guiFX-jar-with-dependencies.jar
set USE_JAR="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\use-guiFX-jar-with-dependencies.jar"
set USE_DEPENDENCIES="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\dependency"
set USE_UNPACKED="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\xercesImpl"
IF NOT EXIST %USE_JAR% (
echo Cannot find USE executable. Please provide correct path to use.jar.
goto end
)
:runApp
java %VMARGS% --module-path "%USE_JAR%;%USE_DEPENDENCIES%;%USE_UNPACKED%" use-guiFX/src/main/java/org/tzi/use/mainFX/MainFX.java -nr %*
REM mvn -pl use-guiFX exec:java -Dexec.mainClass=org.tzi.use.mainFX.MainFX -Dexec.jvmArgs="%VMARGS%" -Dexec.args="%*"
REM mvn -pl use-guiFX javafx:run
REM java %VMARGS% --module-path "C:\Program Files\Java\openjfx-19_windows-x64_bin-sdk\javafx-sdk-19\lib" --add-modules javafx.controls,javafx.fxml,javafx.web -jar %USE_JAR% -nr %*
if "%OS%"=="Windows_NT" @endlocal
:mainEnd
rem echo exit code: %ERRORLEVEL%
:end
set USE_JAR="C:\Users\akifn\Desktop\MyProjects\java\useTesting\use-guiFX\target\use-guiFX-jar-with-dependencies.jar"
That shouldn't be the jar-with-dependencies
but the normal JAR
ah yeah you did say so true
why again was it supposed to be not that one?
the jar-with-dependencies means you have one JAR with all classes together in one place
btw here I too out the :
<execution>
<id>unpack-xercesImpl</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<outputDirectory>${project.build.directory}/xercesImpl</outputDirectory>
<excludes>**/org/w3c/dom/html/*</excludes>
</artifactItem>
</artifactItems>
</configuration>
</execution>
part
this doesn't work with modules that require one JAR or directory per module
but wasnt that the goal to be achieved "mocked" with package?
you mean with the thing in the pom.xml? That makes sure the dependencies are in the correct directories
like it copies all dependency JARs somewhere and also fixes the xercesImpl stuff
yes exactly
You have use-guiFX/src/main/java/org/tzi/use/mainFX/MainFX.java in your bat. I think that should be org.tzi.use.mainFX.MainFX
this path somehow doesnt work, thats why I used that one:
or maybe -m YOUR_MODULE_NAME_HERE/org.tzi.use.mainFX.MainFX
PS C:\Users\akifn\Desktop\MyProjects\java\useTesting> use-guiFX\src\main\resources\binFX\useFX.bat
Fehler: Hauptklasse org.tzi.use.mainFX.MainFX konnte nicht gefunden oder geladen werden
Ursache: java.lang.ClassNotFoundException: org.tzi.use.mainFX.MainFX
it says could not be found
idk that somehow sometimes happens
il check:
open module use.guiFX {
requires javafx.graphics;
requires javafx.fxml;
requires use.core;
requires javafx.controls;
requires javafx.swing;
requires javafx.web;
requires org.kordamp.desktoppanefx.core;
requires use.gui;
exports org.tzi.use.mainFX;
exports org.tzi.use.gui.mainFX;
} ```
This message has been formatted automatically. You can disable this using /preferences.
java %VMARGS% --module-path "%USE_JAR%;%USE_DEPENDENCIES%;%USE_UNPACKED%" -m use.guiFX/org.tzi.use.mainFX.MainFX -nr %*
oh wow that one worked
what did that change?
o you defined the module which one it needs to use?
ahh I guess it was looking in a different module maybe
Saying "I want to run the class org.tzi.use.mainFX.MainFX from the module use.guiFX
makes totally sense
if you use use-guiFX/src/main/java/org/tzi/use/mainFX/MainFX.java, it tries to run use-guiFX/src/main/java/org/tzi/use/mainFX/MainFX.java and figure out stuff by itself
prob my structure making problems
which didn't know about modules properly as it seems
That one is using the source code launcher which is (currently) not made for things with dependencies
Ty! but so how could someone run it now without having the need to have the whole project?
First of all, you need to make a few changes
like you know when someone has the jar with dependencies they can run it without needing the project like in the swing version
Like you would not use full paths
I might have these in a few spots I need to edit that 
One option would be to give them a zip file containing
- the
dependencydirectory - the guiFX JAR
- the
xercesImpldirectory - the
batfile
and ensure the relative paths are set up in a way that it works whenever extracting the zip file
you can also configure Maven to put everything in a single directory with the correct layout
But since it works, you might want to commit and push first
xercesImpl Directory? I dont have that
like as I did say I did took out that part
Ah I had a typo there sorry
I took out that xerces part bcs it was causing problems
so this is the only thing added in pom.xml as a new plugin:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.8.1</version>
<executions>
<execution>
<id>copy-deps</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<excludeArtifactIds>xercesImpl</excludeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
it's generated by Maven in the target directory
that's the unpack part here
theres nothing at least I didnt see it
but if it works without it, ig that would be fine
btw can you maybe Help me out with a few warnings that kinda sound concerning when doing any mvn call?
like I did check stackoverflow but It felt like all they where saying i accept it theres nothing to fix it ☠️
sure
let me guess: encodings?
Oh yeah exactly I should do that first, before anything else
ahh that
The good news about that warning is that you can pretty much ignore it as long as you don't publish it to a Maven repository
and if you are able to change names in the module-info.java if that's necessary in the future
but that would be something these library maintainers have to fix
btw a better way would be to use jlink/jpackage which can create a full minimal Java installation that includes everything necessary
but that's more complicated to set up
and note: You can also configure Maven to automatically copy the bat file etc to the right location using the resource maven plugin if you want to
what exactly define a maven repository?
am I not publishing it to one?
If you have a library and you want others (not working on the same project) to easily use it with <dependency>...</dependency>, you need to publish it to a Maven repository (typically Maven Central)
since that isn't the case with you, that wouldn't be an issue
ah yeah jpackage was the next thing I thought about
I heared thats for javafx to create a runnable application for them kinda old but yeah
jut watched a video on youtube about it today, dont know thought how it would work out, but was looking forward to it, but first wanted to try out what you told me here
amazed that this worked
btw I think if you build it on Windows, it might only work on Windows
because the JavaFX Maven plugin might select the Windows version of JavaFX
ahh thats that maven central thing, have read about it before
not sure though
i guess i am not using it so far and not needed
Yes, Maven Central is the main Maven repository
you are using it for your dependencies but you aren't publishing anything to it
and I dont need to right? like other people could still run it wiht the bat?
hmm fair point that could be something to keep in mind
I might try it out later on an macbook
Currently your bat uses absolute paths
so you'd need to fix that
Note that MacOS cannot run batch files so you'd need to adapt the shell script as well
Note: With jlink/jpackage, you would create different artifacts/files/installers/whatever for different operating systems
yeah on it, I think I can use like %~dp0 or so
but you'd need to create these files on the operating systems you want to target (e.g. you need MacOS if you want to build it for MacOS). However, you can use things like GitHub Actions to do that for you.
idk what exactly %~dp0 but there are likely alternatives with bash
e.g. $*
i actually dk if the original swing version had cross compatibility
Swing is part of the Java standard libraries
I would need to check that out first, until than Il put that on lower priority i think
So if you download Java, you are also downloading the Swing version for the same OS
ah ok so its only a javaFX problem?
bcs its not in the java standard library anymore?
Well it's also generally a thing if you use jlink/jpackage
yeah pretty much
hmm I see
You could also say "Users have to download Java and the JavaFX SDK" to avoid this problem but do you really want to do that?
I have to look more into it than
Idk, but I guess you wouldnt want to do that normally
Currently with the Swing version it would probably be users having to download Java
yeah thats currently a must anyways exactly
and including JavaFX and including dependencies
that's what jlink/jpackage does
i was thinking only the dependencies like a jar with dep
just like as a java solution kinda
jlink --> create a partial Java installation that only contains what you need (and also some extra things like your application and dependencies if you want to)
jpackage --> pretty much like jlink but it can create it as a single executable installer
hmm so what would you recommend I should go for
should I like do the Zip? or should I do one of these both
Il need to first fix my code haha
at least the call works now with java form the bat and not with mvn, thank you Daniel!
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.
For now, you could make sure that Maven puts all files in one directory you can easily create a zip file from. So such a directory would contain
- the stuff from (I think) src/main/resources/bin
- You'd need to update the paths there
- the guiFX JAR
- the dependencies
- the xercesImpl folder if necessary
if you have a directory like that (let's say target/dist) where Maven puts all these things automatically, you could just create a zip file and give that to others. After extracting that zip file, they could just run the bat
In principle, I think it would also be possible to make that work for multiple OSes but that would increase the size of the zip file (and you can still do that independently from the other things)
Thank You @dusky abyss I will check these out and try that out!
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.
Mannnn @dusky abyss I can call now from the cmd with Parameters its working OMG
nice
Thanks to your help bro, I am sooo happpy
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.
good night