Java as Custom Shell

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.
 
U

UdoWeberJR

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top