java - Run eclipse project in cmd -


this question has answer here:

i have console project in eclipse.

i want configure eclipse open windows command prompt window instead of own console. cmd window must run project , input , output instead of eclipse console window.

this easy in c#.

how do this?

if console-based application, merely opening executable jar file should make run in command prompt. can done typing

java -jar "<drive>:\path\to\jar.jar" 

into cmd window. program run if in eclipse console, except in cmd. using batch file, can alter cmd with

color 0a 

as example.

if looking more of user-friendly console-based application, can name of executable jar , have run in processbuilder inside source code itself. allows jar open in cmd.

if have not specified correctly, let me know.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -