B4J Question Compiled jar file doesn't run

Beja

Expert
Licensed User
Longtime User
Hi guys, I have a B4J application with Google Maps, it's running well from the IDE (debug and release), but when I try to run the compiled jar file, it doesn't show anything.. the icon just blinks and that's it.. but the problem is when I return to the IDE, it doesn't run this time from the IDE unless I restart the computer. I am now using the IDE and never touch the compiled jar file.
Any meaning or explanation appreciated.

Best regards, -b
 

derez

Expert
Licensed User
Longtime User
Java jdk 11 or 14 do not run by clicking the jar file, you need to run a command "java -jar filename". Try to compile with jdk-1.8 and see if this is the problem.
 
Upvote 0

amykonio

Active Member
Licensed User
Longtime User
Or build a standalone package from the IDE (although this will run only in windows).
Andreas.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…