DOS slams shut

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
mcf
Posts: 3
Joined: Mon May 17, 2004 12:30 am

DOS slams shut

Post by mcf »

When trying to run application, DOS pops up and closes immediately.

Needless to say this is extremely annoying, can do all from command line, however, this is not my preferred way.

Java program, tool 1 configured path to java bin directory where javac.exe is, tool 2 configured where java.exe is

paramaters for Run Java Application $BaseName
initial folder $FileDir

OS: WinXP Pro

Help?

Thanks
User avatar
CyberSlug
Posts: 120
Joined: Sat Oct 04, 2003 3:41 am

Post by CyberSlug »

Try adding cmd /k to the beginning of your command. This tells the "DOS" console to carry out the specified command but remain open. In fact, you can click Start, Run and type in cmd /k cmd /? to get more information :)

Sometimes you even need cmd /k start "" added to the beginning as mentioned in this post.

Hope that helps
Post Reply