Тёмный
AD2
AD2
AD2
Подписаться
Anything from coding to Day Trading!
Комментарии
@uglylittleliar27
@uglylittleliar27 3 дня назад
THANKYOU SO MUCHHHHH I CANT THANK YOU ENOUGH YOU SAVED ME FROM MY FINAL DEFENSE SIR! GOD BLESS YOU SO MUCH!
@sunildubey3305
@sunildubey3305 10 дней назад
Can you tell me how I can reduce the setup file size of my application as it is shared along with jre. Please 🙏
@ionionel5211
@ionionel5211 Месяц назад
Thx
@mewtrysiker3320
@mewtrysiker3320 2 месяца назад
You are simply goated man, thanks for the trick
@vamsiboina4993
@vamsiboina4993 3 месяца назад
Hey Hai, The above process is working fine in windows and the same process i have executed in linux system it worked and then i have transferred that folder to my windows system and runned trhe .exe file then it was shown an error message i.e. this application required java runtime envitonment. could you please help me with this
@silasvanderwaal3865
@silasvanderwaal3865 Месяц назад
Could it be that the JRE / JDK needs to fit the system you are planning to run the program on? That the JRE / JDK you inserted into your JRE folder is for linux only, so when you try to run the same build on windows it wont recognize it as a JRE / JDK. Let me know if you find a solution!
@ВладСидюк2акітр-23м
@ВладСидюк2акітр-23м 4 месяца назад
GOD BLESS YOU MAN. Its very helpful, i lost 4 hours before i found this video
@papaglory01
@papaglory01 4 месяца назад
Ma man!
@wherefox
@wherefox 4 месяца назад
Thank you so much I was so confused as to why it wouldn’t work
@tirachlo8821
@tirachlo8821 4 месяца назад
Is this installer work in other pc
@FranGG
@FranGG 4 месяца назад
thanksssssssssssssss
@bengaleuiv4036
@bengaleuiv4036 4 месяца назад
launch4j free to use , open source and never launch or open, all RU-vid r just making jokes and waste of time
@nongminh
@nongminh 5 месяцев назад
Thanks
@ryanjanis2732
@ryanjanis2732 5 месяцев назад
Absolutely marvelous series, thank you so much!
@ВладиславПоляев
@ВладиславПоляев 7 месяцев назад
Finaly! I found exactly what i need. Thank you.
@gsestream
@gsestream 7 месяцев назад
this way it will not run in linux, even if you put the linux native library jars on the root of the .jar zip instead of the windows native jar libs. of course it works in windows.
@vamsiboina4993
@vamsiboina4993 3 месяца назад
hey i also got stuck with linux it is not working could you any alternative solution for that
@robinzukunft6350
@robinzukunft6350 7 месяцев назад
Hey man, you really saved me there. I've been attempting this for a while and kept failing when I prepared the JRE folder in the same path as the config and exe file. For all those who were wondering how to include libraries and modules (like JavaFX and so on), consider creating a "fat JAR file." This is a viable option that bundles your dependencies with it. However, this option is not available within Launch4j. You must ensure this through your IDE when proceeding with the JAR file. Best of luck, my programmer friends. =)
@razorblade413
@razorblade413 3 дня назад
Hi! i created a fat-jar in gradle with this code: jar { manifest { attributes 'Main-Class': application.mainClass } from { configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } } duplicatesStrategy = DuplicatesStrategy.EXCLUDE } and it includes the dependencies that i use. But the problem, is that i want also the JRE to be included in the app, so the final user doesn't need to have the .exe and a JRE, instead of just the .exe file that internally contains the JRE. Is this possible? Thanks!
@СергейОрлов-б6ш
@СергейОрлов-б6ш 7 месяцев назад
Great explanation. It works perfectly.
@CaboLabsHealthInformatics
@CaboLabsHealthInformatics 8 месяцев назад
Can't the graalvm be used to generate the executable?
@dimonx6857
@dimonx6857 8 месяцев назад
Really works (event without JavaFX DLL's like in another videos). But faced ё│ў. 28, 2024 9:22:54 ╧╧ com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @70b868a4'
@haiffy
@haiffy 9 месяцев назад
The only reason i stay away from java is because of these bullshitery with the versions and dev kits. But school projects requires me to use java
@YuriLazutchenko
@YuriLazutchenko 10 месяцев назад
Если ошибка об отсутствии JavaFX, то заполнить еще JVM Options: ---module-path "JRE\javafx-sdk-21.0.1\lib" --add-modules javafx.controls,javafx.fxml (где путь заменить на свой путь, где лежит именно javafx(\lib). я его скопировал прямо в JRE папочку, рядом с екзешником которая и на неё ссылаюсь.
@greekrapindustry
@greekrapindustry 11 месяцев назад
exactly what i was searching for
@lucdal31
@lucdal31 Год назад
THANK YOU!!!!! it helped me!
@KlanBr1
@KlanBr1 Год назад
what about if it is a terminal output application? how is this work in this cases?
@davidrose-franklin6106
@davidrose-franklin6106 Год назад
Not all heros wear caps. Banging video series
@CBSScreations
@CBSScreations Год назад
Thanks for the help buddy, its a life saver! would be great you could also make a video on how to bundle SQL with the app!
@CindyAlenar
@CindyAlenar 2 месяца назад
Hello, pls I have found how to bundle SQL with javafx? Would be grateful if u teach me how
@sanders2strong
@sanders2strong Год назад
my left ear
@WretchedByNature
@WretchedByNature Год назад
man all the audio in this video is hard panned to the left and it is killing me
@const71
@const71 Год назад
The version I downloaded looks different ... theres no way to bundle jre
@ChessLover2024
@ChessLover2024 Год назад
Video quality is bad despite content is useful
@tomekQ296
@tomekQ296 Год назад
That's nice tool. Thank you very much :D
@onebigsnowball
@onebigsnowball Год назад
but what if the library requires natives like LWJGL? how would you do that?
@coin5207
@coin5207 Год назад
Thanks for the video. For me it even worked with just the launcher without changing anything about the manifest
@eel546
@eel546 Год назад
can you please help me i got the error: this application requires a java runtime environment
@eel546
@eel546 Год назад
thank you it worked, but the size of the app has changed it appears smaller how can i fix that ??
@arminhrnjic6292
@arminhrnjic6292 Год назад
thanks it worked
@gustavojorge340
@gustavojorge340 Год назад
Thanks for your help!! Wish you the best!
@Drahnokks
@Drahnokks Год назад
Thanks a lot dude ! I was struggling with the deployement part for a long time, you're a hero.
@tamerbary9577
@tamerbary9577 Год назад
Best way i have come across so far, also for the JRE you can add it when adding the main exe under other application files. But be careful to add another folder level before it. For example if your JRE is usually in "C:\Users\A\Desktop\Application\JRE" then make a new folder and put the JRE in it like this "C:\Users\A\Desktop\Application\Newfolder\JRE". After that when you add the file path in inno add it as "C:\Users\A\Desktop\Application\Newfolder" only without the JRE and allow subfolders when prompted. What this means is that you don't have to do anything to the code in the end and that you can have the "Allow user to change the Application folder" option enabled in the beginning.
@eel546
@eel546 Год назад
i did everything you said yet i still got the error: this application requires a java runtime environment
@tamerbary9577
@tamerbary9577 Год назад
​@@eel546 hello yasmine, i would try a few things to find the problem: 1. Did you add the JRE in a new folder first and then added this folder (not the JRE folder inside it) and enabled subfolders when promted 2. If you did number 1. And it still doesn't work try adding the JRE right away. They might have changed the setup wizard. 3. Check in the program folder you just made after installation in the program files in your windows drive if the JRE is next to your exe. 4. Check that your exe works when the jre is next to it
@haiffy
@haiffy 9 месяцев назад
I need visualization for this😅
@bailandoconhumo9549
@bailandoconhumo9549 2 года назад
woooo!!! thank you very much!!!!
@GabrieleLizzos
@GabrieleLizzos 2 года назад
Thank you!!
@tareqkhanfar-i9p
@tareqkhanfar-i9p 2 года назад
thank you ..
@x86xFX
@x86xFX 2 года назад
Thank you. Finally best solution for javafx application to exe. Legend❤
@x86xFX
@x86xFX 2 года назад
Thank you 😊
@slimani-dev
@slimani-dev 2 года назад
thanks a lot bro you helped me more than you think
@hadjhadji3818
@hadjhadji3818 2 года назад
thank you that was helpful
@wojtekwilusz7875
@wojtekwilusz7875 2 года назад
Hi. It's very good tutorial for beginers. I have one problem. My app working with simple txt file to save data from app. When i run my app from exe file, change data and closing it, after restart i don't have any data. The app simply dont save and load data from file. Do you know possible solution? Thanks for answer. Cheers.
@bossbabos796
@bossbabos796 2 года назад
This is the only video that helped me! Thanks))
@jofodamofo
@jofodamofo 2 года назад
my left ear enjoyed this
@jfiii4896
@jfiii4896 2 года назад
Thanks so much......hero
@mickdostie
@mickdostie 2 года назад
Glad it helped.