If you need to exit a program started from a batch file and use goto statements, do as below:
:RUNJAVA java -Xmn100M -Xms500M -Xmx500M -cp F:jarpathapr.jar;F:Appsliblog4j-1.2.13.jar;F:Appslibsqljdbc.jar; com.hyve.MarketDataAPIClient -c None -DBHost xxx -DBUsername xxx -DBPassword xxx if errorlevel 1 goto RUNJAVA
How useful was this post?
Click on a star to rate it!
Average rating / 5. Vote count: