You don't mention what problem you are having with the batch file - but I am thinking it's probably a class path issue. Are you getting things like "No class def found" ?
javac needs to know the class path to find any other classes that your java file is using. This can be specified with the -cp option for the javac command or it can be set via the CLASSPATH environment variable. Here is some more info on that:
http://java.sun.com/javase/6/docs/technotes/tools/windows/classpath.html
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
If you got that batch file from another source, you might see if there is another file like "setEnv.bat" in the directory, which sets the environment classpath. If so, run that one first.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
I appreciate the help, but that is not what it is. I'm getting errors from the commands in the files im calling in the batch file. I have basically concluded that the place I got these from is worthless...
Again, you don't state what the specific errors are. If you posted some of them it might help.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Well, I assume that is only part of the batch file, or you are supposed to run another batch before that one, because it is trying to create a jar file from classes that aren't there. Do you have any docs for this POWERTRAK stuff or is it an internal app?
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847