answersLogoWhite

0


Best Answer

hi

i used ProcessBuilder to run the program but i m stuck with how to pass input to the executable.

If i run that .exe file in cmd it asks to "enter your choice (1/2/3)"

How to pass the choice from my java code?

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you pass input to an interactive program through an external file in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

A program that uses prompting messages to direct the user's input is running in?

Interactive mode


Which documentation is typically written first input output internal program or external program?

Output documentation


What is the difference between internal and external variables?

Internal variables are those that are within the control or influence of the system or entity being studied, while external variables are those that are outside of its control or influence. Internal variables are typically more easily manipulated in an experiment, while external variables are often more difficult to control for.


Why is the interactive Visual Logic flowchart program more useful than a manually drawn flowchart?

A manual flowchart is static. The advantage of an interactive Visual Logic flowchart is that it allows users to input values for various variables at runtime. When the flowchart is finished, users can then run the program behind the chart.


Is interactive whiteboard an input or output device?

both input r output


Creators of interactive blogs?

respond to user input.


Difference between internal and external inputs?

internal input is the one where we give inputs as well and external input is the clock input


Interactive input devices?

Interactive input devices are those that give the user feedback as they are used to feed in data. An example is a touchscreen, which doubles up as an output device.


What is legal input?

In a computer program, a legal input is something that can be put into a program and it will work. An illegal input may crash the program.


Where do you find the external input channel on the Mitsubishi WT-42315?

Where do you find the external input channel on the tretech television remote?


How do you save a sound as a file on your computer?

You needa microphone (external or built in)a sound card (with microphone input if external microphone)a recording program (Windows comes with a Sound Recorder program, Mac OS X comes with a program called GarageBand)See related link for step by step instructions for Windows


Which is not a way to input data into a program?

without understanding the program giving a input