I'm using YUI compressor jar file to merge and minify a number of JS and CSS files. This works great on my mac, and on my CentOS 5 server.
Now I bought another CentOS VPS and the same script is not working on that pc. The minification gets done, but my minified javascript starts throwing errors.
When compressing the same files with the same script on my mac or other centos machine, all works fine.
Any ideas what sort of OS settings influence the working of yui compressor? I'm all out of options here. YUI compressor does not throw any errors.