How can I easily make a java application invisible to the user? -


I have developed a Java application, which is currently being run by double-clicking on the ".bat" file, which It does something like "Java-Georges Praozer" This app listens only on one port and writes a database, so there is no user interface (like window) in it. I need to run this application as a background mode, or it was a service, but I am actually nothing other than this. This is sufficient if the application is run in a manner that is not noticeable by the user, so that the user can not be disturbed and in such a way the application can not be stopped by mistake. By the way, it will run on a specific computer, so it's OK to order me to do manual configuration IR order. Also, I need this app to run at startup.

Any help / tips about this? Thank you very much for your help in advance!

Regards,

Pedro

java.exe Use instead javaw.exe and you will not find the console window. From

to: / P>

The javaw command is similar to Java, except that there is no associated console window with javaw. Use Java when you do not want to show the Command Prompt window, however, the Java Launcher will display a dialog box with error information, if the launch fails for some reason.

Edit:

A. Beat will start a console if you can live with consolation for each other's part, then you can submit your call to javaw to start . This will create another console-less process for javaw and allow the console- across to exit the bat.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -