0
The function below starts through a file . jar a Webservice.
private static void StartService()
{
try
{
var FileStart = new FileInfo(Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), @"WSOPaf.jar"));
Process.Start(FileStart.ToString());
}
}
It is necessary to put the extension of the file ". jar" or just the name?
That’s the best way to open the service?
Can you "run" this jar manually? How do you expect this execution to be done?
– Leandro Angelo
This service starts automatically in windowns, but if it does not start, I need to start with another program I created, in this program this function is responsible.
– Josias Matheus