comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Call IDL (Virtual Machine) Save file from Java
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Call IDL (Virtual Machine) Save file from Java [message #55831] Tue, 11 September 2007 05:25
raval.chintan is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Unsolved indexing problem 2 weeks ago.
Next Topic: Re: How to determine the WEIGHTS in MPFITFUN for distribution function fit?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:14:48 PDT 2025

Total time taken to generate the page: 0.00824 seconds