0

Im trying to make the run.bat file read the .class files from the folder classes/src. But before I didn't package my .java files and the created .class files were found in /classes. But now that I packaged my .java files, the newly created .class files are being read from inside the folder classes/src. And when I take them out from there I get an error.

this is what I have in the run.bat

@echo off
title Run

java -Xmx500M -cp .;./classes/; server

pause

How can I make it read from classes/src?

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by kilermage
0

I'm no expert on bat files, but I would suggest changing the line that reads: java -Xmx500M -cp .;./classes/; server to: java -Xmx500M -cp .;./classes/src/; server and see if that fixes your problem.

Edited by darkagn: n/a

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.