Java as Custom Shell

  • Thread starter Thread starter UdoWeberJR
  • Start date Start date
U

UdoWeberJR

Hi,

i created a cutom shell for my windows embedded in Java. Now i have a
problem that when i set
cmiShellPath = %11%\java.exe -jar %24%\Test\Test.jar
the custom shell starts but also a black commandline window opens in which
the output of java is written. But i only want to have my java window.

When i set
cmiShellPath = %24%\Test\Test.jar
nothing opens, nor my custom shell application nor the black commandline
window.

Then i tried to set
cmiShellPath = start /b %11%\java.exe -jar %24%\Test\Test.jar
Their happens also nothing.

Every command works fine in my image when i use cmd as shell an type it in
manual, but i want only one window, my java application as a custom shell.

Someone an idea or a tip how to set cmiShellPath correct for work with a
custom java shell ?
Thx for helping.
 
I solved the problem in this moment for me, i used javaw.exe, it is the same
like java.exe only it has no commandline window, so exactly what i want. So
the command is now:



cmiShellPath = %11%\javaw.exe -jar %24%\Test\Test.jar
 
Back
Top