Home »
Public Forums »
archive »
Call IDL (Virtual Machine) Save file from Java
Call IDL (Virtual Machine) Save file from Java [message #55831] |
Tue, 11 September 2007 05:25 |
raval.chintan
Messages: 54 Registered: May 2005
|
Member |
|
|
Hi,
I made one application for which some part I have developed in IDL.
For this application I made save file in IDL which run correctly If I
run it through command prompt on Windows with the command given below.
idlrt -vm "D:\myapp.sav"
I made a bat file simple.bat. which contain the same above command.
When I run this bat file from the command prompt my application is
running fine.
The entire application is in Java. I have only installed IDL virtual
machine on my Windows XP machine. and I have written following code in
Java to call the application.
Runtime r=Runtime.getRuntime();
Process p=null;
try
{
String s="D://simple.bat";
p=r.exec(s);
}
catch(Exception e){
System.out.println("error==="+e.getMessage());
e.printStackTrace();
}
But the problem comes when I try to run the code from Java file. I am
not able to run IDL application. At the same time one good thing I
found in above code , It is not generating any error :-).
Appriciate If you could help me in this regard.
-Chintan
|
|
|
Current Time: Wed Oct 08 19:14:48 PDT 2025
Total time taken to generate the page: 0.00824 seconds