You wouldn't change anything in run.bat. The classpath there is the classpath JBoss itself needs to run. Jars deployed in the lib directory tend to be resources needed by applications deployed in the same directory - a common example would be a
JDBC driver. If you are refereing to resources needed only by your application, then these would be deployed as part of your application (i.e. in the EAR file).