- Joined
- Jun 29, 2013
- Messages
- 4
- Reaction score
- 0
I am trying to run a simple java program whenever my the phone rings using 3CX v11 and MyPhone latest builds. Under "Path to .exe" I have <path to java bin>\java.exe and under "Parameters" I have -jar <path to jar file>\SendCID.jar "%callid%"
Now when the phone rings, a black DOS window with two lines of text flashes on the screen for a fraction of a second. It is not there long enough for me to read what it says, but it says something about not finding the main class.
The same command <path to java bin>\java.exe -jar <path to jar file>\SendCID.jar "1234567890" runs without error when entered at a WindowsXP DOS prompt. Why should it be different here? and how do I make it work? How can I capture the error text to a file where I can read it?
Richard
Now when the phone rings, a black DOS window with two lines of text flashes on the screen for a fraction of a second. It is not there long enough for me to read what it says, but it says something about not finding the main class.
The same command <path to java bin>\java.exe -jar <path to jar file>\SendCID.jar "1234567890" runs without error when entered at a WindowsXP DOS prompt. Why should it be different here? and how do I make it work? How can I capture the error text to a file where I can read it?
Richard