Launching a JAVAW application



Hi Everyone,

I am hoping that someone can point me in the right direction as I keep
hitting my head against the wall with what seems to be a simple
problem.

I am using a batch file to launch a javaw app. The app sits quietly in
the background and waits for tasks to be sent to it, and returns the
results. From the batch it works fine, but it requires that someone
actually double click it to run the app.

What I would like to be able to do, is to launch the application at
system startup before a user logs in. The batch file currently used
does some processing to build the classpath statements and so on
before actually starting javaw. (If anyone is interested the
application is an open source project from Pentaho (www.pentaho.com)
called PDI (Pentaho Data Integration / Kettle), specifically the Carte
'slave' software).

I am hoping not to have to turn this into a Windows (XP) service, and
somehow launch the .bat file at system start. I have tried using group
policy and setting the startup scripts, and likewise directly in the
windows registry. So far I have had absolutely no luck at all.

If anyone has any ideas about this I would be most appreciative in
hearing them.

Cheers

The Frog
.



Relevant Pages

  • Re: Autolaunch a .bat file
    ... The main purpose of my batch file is to update that particular app. ... put my batch file in the startup directory... ... I'm not sure that CE is able to launch .bat ...
    (microsoft.public.windowsce.platbuilder)
  • Re: launch a .py file from a batch file
    ... I can launch an Excel and Word file fine using, ... The others open fine and no Python app. ... Assuming you're running on Windows XP, try the following line in your batch file: ...
    (comp.lang.python)
  • Re: Installing over an existing application.
    ... Vince wrote: ... What I did was to create a batch file which: ... >>sure the app is shut down completely before proceding (you can launch ... >>that batch file with Shell and immediately shut the app down) or... ...
    (microsoft.public.vb.enterprise)
  • Re: Launching an app under Vista with UAP enabled
    ... prompts the user for permission before running th e app. ... We really need a way to launch an app without user ... The following "execute" function is used to launch an app using the ... bSuccess = OpenThreadToken( ...
    (microsoft.public.development.device.drivers)
  • Re: Windows CE Splash and Shell
    ... for each Launch key windows CE checks signal started ... dependencies before launching the App. ... Windows Embedded Manager ... have a Windows CE image with standard shell working ...
    (microsoft.public.windowsce.embedded)