0

I've already seen this questions, but have no positive result:

1) Is there a way to the hide win32 launch console from a Java program (if possible without JNI) 2) Start a java program without the console

I've something like that: "C:\Program Files (x86)\Java\jre1.8.0_71\bin\javaw" -Dfile.encoding=UTF-8 -cp ".;manyjarshere.jar" main.Main

And console appears, but I can close it manually, but I want it hidden by start. If I place "start" before "C:..." then it shows "not found "-Dfile..."

Community
  • 1
  • 1
pswrdf
  • 95
  • 11

1 Answers1

0

start javaw [args] should do the trick IF java /bin folder is added to the system's PATH environment variable

Cootri
  • 3,806
  • 20
  • 30