Home Download Buy Blog Forum Support

How to make build system to run Java from terminal/cmd?

How to make build system to run Java from terminal/cmd?

Postby cookiesui on Wed Sep 05, 2012 5:46 am

Hi.

I would like to make a build system that will compile a Java file, and then run it in a separate command-line shell; either command prompt for Windows, or terminal for OS X or Linux.

The reason for this is because Sublime Text 2 does not allow for interactive user-input, so any programs requiring that will spit out an error when running inside Sublime Text 2, like this:
Image

Is this possible? If so, I'd be inexpressibly grateful to whoever could explain, step-by-step (I'm a noob at Sublime Text 2), how to do it. Thanks for your time! :D
cookiesui
 
Posts: 2
Joined: Tue Mar 13, 2012 11:40 pm

Re: How to make build system to run Java from terminal/cmd?

Postby kunlei on Sat Nov 24, 2012 9:11 pm

i encountered the same problem. have you solved it?
kunlei
 
Posts: 2
Joined: Sat Nov 24, 2012 9:09 pm

Re: How to make build system to run Java from terminal/cmd?

Postby xeno.by on Sun Nov 25, 2012 12:12 am

You might want to look into https://github.com/wuub/SublimeREPL
xeno.by
 
Posts: 106
Joined: Mon Jan 30, 2012 10:03 am
Location: Lausanne, Switzerland


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot] and 13 guests