B4J Question [Solved] Java 181 update on Windows 10

jroriz

Active Member
Licensed User
Hi.
After install java 181 update on windows 10, my jar aplication does not work anymore.
After lauch the application, a window pops up and disappears quickly. It seems to be a DOS window, because the background is black.
I installed B4J on the computer, and the program works on the IDE, but the compiled JAR application does not work.
Does anyone help?
 

jroriz

Active Member
Licensed User
Ok, now I've created a batch file with java -jar myapp.jar.
The application opens, but the DOS window remains open, and if that window is closed, my application closes.
Is it possible to start the application through a batch file, but without getting the DOS window open?
 

Enrique Gonzalez R

Well-Known Member
Licensed User
You open CMD so you can see the exception causing your app to crash. It does not matter if it is a UI application, it will work with CMD
 

jroriz

Active Member
Licensed User
Solved!

JAVAW instead of JAVA.

Javaw starts the application without the console.

The window was the console.
 
Last edited:
Top