0

Firstly I'm not sure where to put this post because it falls under java and vb.net, but since I'm guessing that the main part needs to be done with my java files, i put in here.
OK, so i am trying to create a console application to run my java files instead of a batch file, iv got that sorted out now i need to know if its possible for my java files to accept input from my console application and also if it does, how then do i send the input to my java files, thanks.

2
Contributors
4
Replies
5
Views
10 Years
Discussion Span
Last Post by Webbsta
0

if you mean running at startup from the batch file you could invoke the java jar and supply it with a series of arguments?

Is this console application written in java? Is it a java console application? If so you can capture input from the user by doing System.in.get (I think its something like that) deffo in the System class namespace.

0

No its written in VB.NET thats why I'm not sure whether its possible for my java files to accept input from it. If it was a java application it would be easy but its not :S

0

*Not a good idea* but you could get VB to write to a text file, and java to probe the text file periodically for the data?

0

*Not a good idea* but you could get VB to write to a text file, and java to probe the text file periodically for the data?

ah thats a good idea, it would take a while for me to do that though.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.