We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 840b5f0 commit 2c7aa68Copy full SHA for 2c7aa68
lib/grunt/utils.js
@@ -221,7 +221,7 @@ module.exports = {
221
//returns the 32-bit mode force flags for java compiler if supported, this makes the build much faster
222
java32flags: function() {
223
if (process.platform === 'win32') return '';
224
- if (shell.exec('java -version -d32 2>&1', {silent: true}).code !== 0) return '';
+ if (shell.exec('java -d32 -version 2>&1', {silent: true}).code !== 0) return '';
225
return ' -d32 -client';
226
},
227
0 commit comments