my dog learned polymorphism
The moose likes Java in General and the fly likes Reading string in console window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Reading string in console window" Watch "Reading string in console window" New topic
Author

Reading string in console window

karthik tvn
Greenhorn

Joined: Feb 15, 2008
Posts: 13
Hi,

We have developed stand alone application using java swing. Then we have converted application jar file into exe format (say sampleApplication.exe) for running on windows flatform. While running the sampleApplication exe, it will write some string (say Hello this is sample application) in its console window. Now my another java application has to call the sampleApplication exe and has to read string in the console window which is written by sampleApplication exe.

My problem is how to read the string in console window which is written by sampleApplication exe.
and Is it possible to call particular java method in sampleApplication exe because this exe is converted from jar only.

If anything is wrong kindly dont mistake me......

thanks in advance....
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4167
    
    3

Not a GUI question, wrong subforum.

This may help: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html


luck, db
There are no new questions, but there may be new answers.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19216

Darryl Burke wrote:Not a GUI question, wrong subforum.

I agree. Moving to JiG.


SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Reading string in console window
 
Similar Threads
Executing .exe inside a jar file
problem with login to the server
EJB jars to EXE
exe of a jar file + passing parameter from cmd prompt to exe
Running a .exe file from a .java file