|
-
August 24th, 1999, 03:40 PM
#1
Invoking DOSPrompt and compiling a java file programatically
Hi,
In my application,I want to invoke the DOS-prompt programatically and set"javac filename.java" and make it to compile this file and save the output in a file.I tried using runtime.exec().Its invoking the DOS-Prompt.How can I give the filename(say,test.java)programatically in the DOS-prompt.Can anyone suggest me an idea?.Thatis,in my application,I have a combobox with list of .java files.Wehn the user slects a file and clicks ok button,DOS-prompt should appear and it should compile the file that I
have selected.The user should not touch the DOS-prompt.Can anyone suggest me an idea...I was looking for functions....But,couldn't get it...
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|