Link to home
Start Free TrialLog in
Avatar of chocobogo
chocobogo

asked on

Shortening Run and Compile Commands in windows

Run: java -cp .;c:\ex1\Game\Snake.jar Snake
compile: javac -classpath %CLASSPATH%;.;C:\ex1\Game\Snake.jar Game.java

These are the commands I am using at the moment to compile and run in  Windows.
I would be grateful if someone could help me in telling me how to create some sort of compile and run script to make the proccesses easier.

Do i need to make .bat files?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial