I have installed 64bit jre on my pc (starts in mixed mode), then i compiled my Java application in 64bit mode. It starts prefectly and works fine as stand alone application.
Then I install it as service using a JSL.EXE (with jsl.ini) and it starts again fine, BUT doesn’t work: doesnt answer (this is a small server) and writes nothing into a log-file.
The same application works fine as a service if i compile it with jre 32bit and install as a service in 32bit environment.
thanks
Solved. I have just run jsl.exe -debug and saw everithing, what has been happen. The wrong JRE was taken by jsl… and i schould also define a jvmtype parameter in jsl.ini…. and i didn’t know that jsl64.exe schould be used for 64bit java apps (apps with 64bit SWT)
[java]
jvmtype=server,client,hotspot,classic
thanks