#50 Bat file "bug"

open
nobody
None
5
2009-06-14
2009-06-14
No

Hi,
Spend some time to get the program running on my windows and found a little "bug".

My JREVERSE_HOME variable was set to "C:\Program Files\jreversepro" but when i run jrevpro -g it wouldn't start and for some reason the classpath was set to "Files\jreversepro\lib\jreversepro.jar". A quick look at the bat file expleind why. Using paths with spaces in it with "java -classpath" won't work. A fix is to siply quote the path in the bat file. Use "java -classpath "%CP%" jreversepro.JCmdMain %1 %2 %3 %4 %5" instead of "java -classpath %CP% jreversepro.JCmdMain %1 %2 %3 %4 %5".

Discussion