Home » Developer & Programmer » Forms » HOST Commad Problem
HOST Commad Problem [message #178638] Thu, 22 June 2006 01:20 Go to next message
d.dineshkumar
Messages: 211
Registered: April 2005
Location: Kolkatta
Senior Member
Hi All,
I am calling a java program on a button press through host command as follows.

HOST('CALL java -Xms100m -Xmx100m Interface');

But the problem is,
The command window is coming and is disappearing with out doing any thing.I am hving some System.out message on the java files which i am unable to see.

But if I will run the same thing from a command prompt then the java programme is runnning properly.

I want that HOST command to work and the command window should appear.

Please help on this.

Thanks And Regards
Dinesh
Re: HOST Commad Problem [message #178668 is a reply to message #178638] Thu, 22 June 2006 03:14 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
I think the program is working correctly. What you experience is the close of the Java window after the program ended. On the command line you exit the Java program too but the console window stays open. Can't you make your java program for user confirmation, a "pause" if you will?

MHE
Re: HOST Commad Problem [message #178893 is a reply to message #178668] Fri, 23 June 2006 05:44 Go to previous message
d.dineshkumar
Messages: 211
Registered: April 2005
Location: Kolkatta
Senior Member
Thanks Mahher,
BUt the problem was with memory.

Now we are starting the form as:

HOST('CALL java -Xms75m -Xmx75m Interface');

here we reduced the 100 to 75.
Its work for us.

Thanks
Dinesh
Previous Topic: from 7 to 9?
Next Topic: How should be the Forms Runtime First Screen
Goto Forum:
  


Current Time: Fri Sep 20 10:40:15 CDT 2024