MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #1 Dear guys, The Desktop Application is only launching from COMPILING F5 But the Executable Jar File generated opens a split-second, then CLOSES automatically Can't understand why Please help Thank you
Dear guys, The Desktop Application is only launching from COMPILING F5 But the Executable Jar File generated opens a split-second, then CLOSES automatically Can't understand why Please help Thank you
Daestrum Expert Licensed User Longtime User Feb 19, 2019 #2 Which version of java was it compiled under ? Upvote 0
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #3 jre1.8.0_121 and jdk1.8.0_121 You mean this? Upvote 0
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #4 Weird though - since you asked me to check: In "Program Files (x86)" - jre1.8.0_121 and jdk1.8.0_121 But in "Program Files" - jre-9.0.4 Is there a clash of some sort? Thank you for helping Upvote 0
Weird though - since you asked me to check: In "Program Files (x86)" - jre1.8.0_121 and jdk1.8.0_121 But in "Program Files" - jre-9.0.4 Is there a clash of some sort? Thank you for helping
DonManfred Expert Licensed User Longtime User Feb 19, 2019 #5 Rockefeller Goldman said: In "Program Files (x86)" - jre1.8.0_121 and jdk1.8.0_121 But in "Program Files" - jre-9.0.4 Click to expand... And which one are you using in the IDE? Post the path to the javac.exe Upvote 0
Rockefeller Goldman said: In "Program Files (x86)" - jre1.8.0_121 and jdk1.8.0_121 But in "Program Files" - jre-9.0.4 Click to expand... And which one are you using in the IDE? Post the path to the javac.exe
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #6 B4X: C:\Program Files (x86)\Java\jdk1.8.0_121\bin\javac.exe Thank you Manfred Upvote 0
DonManfred Expert Licensed User Longtime User Feb 19, 2019 #7 Ok, i was expecting you have java 11 in use. In java 11 you can not create executables jars anymore. For your issue. I guess your app just crashes. Check the Log. Run it from a commandline window and maybe see the error in the console Upvote 0
Ok, i was expecting you have java 11 in use. In java 11 you can not create executables jars anymore. For your issue. I guess your app just crashes. Check the Log. Run it from a commandline window and maybe see the error in the console
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #8 Thank you for the guidance But how come it works from Compiling? Upvote 0
Daestrum Expert Licensed User Longtime User Feb 19, 2019 #9 What does log(getsystemproperty("java.home","") display? Upvote 0
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #10 Displays this Daestrum: B4X: C:\Program Files (x86)\Java\jdk1.8.0_121\jre Upvote 0
OliverA Expert Licensed User Longtime User Feb 19, 2019 #11 Are you executing the .jar from the command line? If not, try it from there. Any error messages the program displays should show up on the console Upvote 0
Are you executing the .jar from the command line? If not, try it from there. Any error messages the program displays should show up on the console
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #13 Trying to execute from cmd Thank you Oliver Upvote 0
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #14 Trying slowly Donny "John Wick" Manfreddy Upvote 0
OliverA Expert Licensed User Longtime User Feb 19, 2019 #15 Rockefeller Goldman said: Thank you Oliver Click to expand... I should have read @DonManfred's post better, since he already suggested that Upvote 0
Rockefeller Goldman said: Thank you Oliver Click to expand... I should have read @DonManfred's post better, since he already suggested that
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #16 Should I install latest Java SE Development Kit 8u201 Because executes with this Upvote 0
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #17 2 AM here Thank you so much guys for graciously trying to help BROTHERHOOD OF B4X Upvote 0
MODERN TALKING Active Member Licensed User Longtime User Feb 19, 2019 #18 SOLVED THE PROBLEM - THANK TO YOU GUYS The error was displayed in the console and I deleted the Sub So now the .jar is launching YOU GUYS ARE THE BEST Danke meine Freunde Upvote 0
SOLVED THE PROBLEM - THANK TO YOU GUYS The error was displayed in the console and I deleted the Sub So now the .jar is launching YOU GUYS ARE THE BEST Danke meine Freunde