Gradle 1.12 wrapper fails - unable to find valid certification path to requested target


(psammirata) #1

-sh-4.1$ ./gradlew clean Downloading https://services.gradle.org/distributions/gradle-1.12-bin.zip

Exception in thread “main” java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:78)

at org.gradle.wrapper.Install.createDist(Install.java:44)

at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:126)

at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55) Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)

at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1884)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:276)

at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)

at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)

at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:153)

at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)

at sun.security.ssl.Handshaker.process_record(Handshaker.java:804)

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1016)

at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)

at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:563)

at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1300)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)

at org.gradle.wrapper.Download.downloadInternal(Download.java:56)

at org.gradle.wrapper.Download.download(Download.java:42)

at org.gradle.wrapper.Install$1.call(Install.java:57)

at org.gradle.wrapper.Install$1.call(Install.java:44)

at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:65)

… 3 more Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)

at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)

at sun.security.validator.Validator.validate(Validator.java:260)

at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)

at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:231)

at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:126)

at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1323)

… 19 more Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)

at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)

at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)

… 25 more -sh-4.1$

-sh-4.1$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.4 (Santiago)

-sh-4.1$ java -version java version “1.7.0_45” Java™ SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot™ 64-Bit Server VM (build 24.45-b08, mixed mode) -sh-4.1$

-sh-4.1$ keytool -keystore “$JAVA_HOME/jre/lib/security/cacerts” -storepass changeit -list

Keystore type: JKS Keystore provider: SUN

Your keystore contains 78 entries

digicertassuredidrootca, Apr 16, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 05:63:B8:63:0D:62:D7:5A:BB:C8:AB:1E:4B:DF:B5:A8:99:B2:4D:43 trustcenterclass2caii, Apr 29, 2008, trustedCertEntry, Certificate fingerprint (SHA1): AE:50:83:ED:7C:F4:5C:BC:8F:61:C6:21:FE:68:5D:79:42:21:15:6E thawtepremiumserverca, Dec 11, 2009, trustedCertEntry, Certificate fingerprint (SHA1): E0:AB:05:94:20:72:54:93:05:60:62:02:36:70:F7:CD:2E:FC:66:66 swisssignplatinumg2ca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 56:E0:FA:C0:3B:8F:18:23:55:18:E5:D3:11:CA:E8:C2:43:31:AB:66 swisssignsilverg2ca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 9B:AA:E5:9F:56:EE:21:CB:43:5A:BE:25:93:DF:A7:F0:40:D1:1D:CB thawteserverca, Dec 11, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 9F:AD:91:A6:CE:6A:C6:C5:00:47:C4:4E:C9:D4:A5:0D:92:D8:49:79 equifaxsecureebusinessca1, Jul 18, 2003, trustedCertEntry, Certificate fingerprint (SHA1): DA:40:18:8B:91:89:A3:ED:EE:AE:DA:97:FE:2F:9D:F5:B7:D1:8A:41 utnuserfirstclientauthemailca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): B1:72:B1:A5:6D:95:F9:1F:E5:02:87:E1:4D:37:EA:6A:44:63:76:8A thawtepersonalfreemailca, Dec 11, 2009, trustedCertEntry, Certificate fingerprint (SHA1): E6:18:83:AE:84:CA:C1:C1:CD:52:AD:E8:E9:25:2B:45:A6:4F:B7:E2 entrustevca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): B3:1E:B1:B7:40:E3:6C:84:02:DA:DC:37:D4:4D:F5:D4:67:49:52:F9 utnuserfirsthardwareca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): 04:83:ED:33:99:AC:36:08:05:87:22:ED:BC:5E:46:00:E3:BE:F9:D7 certumca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 62:52:DC:40:F7:11:43:A2:2F:DE:9E:F7:34:8E:06:42:51:B1:81:18 addtrustclass1ca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): CC:AB:0E:A0:4C:23:01:D6:69:7B:DD:37:9F:CD:12:EB:24:E3:94:9D entrustrootcag2, Jun 22, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 8C:F4:27:FD:79:0C:3A:D1:66:06:8D:E8:1E:57:EF:BB:93:22:72:D4 equifaxsecureca, Jul 18, 2003, trustedCertEntry, Certificate fingerprint (SHA1): D2:32:09:AD:23:D3:14:23:21:74:E4:0D:7F:9D:62:13:97:86:63:3A quovadisrootca3, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 1F:49:14:F7:D8:74:95:1D:DD:AE:02:C0:BE:FD:3A:2D:82:75:51:85 quovadisrootca2, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): CA:3A:FB:CF:12:40:36:4B:44:B2:16:20:88:80:48:39:19:93:7C:F7 digicerthighassuranceevrootca, Apr 16, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 5F:B7:EE:06:33:E2:59:DB:AD:0C:4C:9A:E6:D3:8F:1A:61:C7:DC:25 secomvalicertclass1ca, Jun 2, 2008, trustedCertEntry, Certificate fingerprint (SHA1): E5:DF:74:3C:B6:01:C4:9B:98:43:DC:AB:8C:E8:6A:81:10:9F:E4:8E equifaxsecureglobalebusinessca1, Jul 18, 2003, trustedCertEntry, Certificate fingerprint (SHA1): 7E:78:4A:10:1C:82:65:CC:2D:E1:F1:6D:47:B4:40:CA:D9:0A:19:45 geotrustuniversalca, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): E6:21:F3:35:43:79:05:9A:4B:68:30:9D:8A:2F:74:22:15:87:EC:79 verisignclass3ca, Dec 11, 2009, trustedCertEntry, Certificate fingerprint (SHA1): A1:DB:63:93:91:6F:17:E4:18:55:09:40:04:15:C7:02:40:B0:AE:6B thawteprimaryrootcag3, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): F1:8B:53:8D:1B:E9:03:B6:A6:F0:56:43:5B:17:15:89:CA:F3:6B:F2 thawteprimaryrootcag2, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): AA:DB:BC:22:23:8F:C4:01:A1:27:BB:38:DD:F4:1D:DB:08:9E:F0:12 deutschetelekomrootca2, Nov 14, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 85:A4:08:C0:9C:19:3E:5D:51:58:7D:CD:D6:13:30:FD:8C:DE:37:BF utnuserfirstobjectca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): E1:2D:FB:4B:41:D7:D9:C3:2B:30:51:4B:AC:1D:81:D8:38:5E:2D:46 geotrustprimaryca, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 32:3C:11:8E:1B:F7:B8:B6:52:54:E2:E2:10:0D:D6:02:90:37:F0:96 baltimorecodesigningca, May 10, 2002, trustedCertEntry, Certificate fingerprint (SHA1): 30:46:D8:C8:88:FF:69:30:C3:4A:FC:CD:49:27:08:7C:60:56:7B:0D verisignclass1ca, Dec 11, 2009, trustedCertEntry, Certificate fingerprint (SHA1): CE:6A:64:A3:09:E4:2F:BB:D9:85:1C:45:3E:64:09:EA:E8:7D:60:F1 baltimorecybertrustca, May 10, 2002, trustedCertEntry, Certificate fingerprint (SHA1): D4:DE:20:D0:5E:66:FC:53:FE:1A:50:88:2C:78:DB:28:52:CA:E4:74 starfieldclass2ca, Jan 20, 2005, trustedCertEntry, Certificate fingerprint (SHA1): AD:7E:1C:28:B0:64:EF:8F:60:03:40:20:14:C3:D0:E3:37:0E:B5:8A camerfirmachamberscommerceca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 6E:3A:55:A4:19:0C:19:5C:93:84:3C:C0:DB:72:2E:31:30:61:F0:B1 ttelesecglobalrootclass3ca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 55:A6:72:3E:CB:F2:EC:CD:C3:23:74:70:19:9D:2A:BE:11:E3:81:D1 verisignclass3g5ca, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 4E:B6:D5:78:49:9B:1C:CF:5F:58:1E:AD:56:BE:3D:9B:67:44:A5:E5 ttelesecglobalrootclass2ca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 59:0D:2D:7D:88:4F:40:2E:61:7E:A5:62:32:17:65:CF:17:D8:94:E9 trustcenteruniversalcai, Apr 29, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 6B:2F:34:AD:89:58:BE:62:FD:B0:6B:5C:CE:BB:9D:D9:4F:4E:39:F3 verisignclass3g4ca, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 22:D5:D8:DF:8F:02:31:D1:8D:F7:9D:B7:CF:8A:2D:64:C9:3F:6C:3A verisignclass3g3ca, Mar 25, 2004, trustedCertEntry, Certificate fingerprint (SHA1): 13:2D:0D:45:53:4B:69:97:CD:B2:D5:C3:39:E2:55:76:60:9B:5C:C6 certplusclass3pprimaryca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 21:6B:2A:29:E6:2A:00:CE:82:01:46:D8:24:41:41:B9:25:11:B2:79 certumtrustednetworkca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 07:E0:32:E0:20:B7:2C:3F:19:2F:06:28:A2:59:3A:19:A7:0F:06:9E verisignclass3g2ca, Mar 25, 2004, trustedCertEntry, Certificate fingerprint (SHA1): 85:37:1C:A6:E5:50:14:3D:CE:28:03:47:1B:DE:3A:09:E8:F8:77:0F globalsignr3ca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): D6:9B:56:11:48:F0:1C:77:C5:45:78:C1:09:26:DF:5B:85:69:76:AD utndatacorpsgcca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): 58:11:9F:0E:12:82:87:EA:50:FD:D9:87:45:6F:4F:78:DC:FA:D6:D4 secomscrootca2, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 5F:3B:8C:F2:F8:10:B3:7D:78:B4:CE:EC:19:19:C3:73:34:B9:C7:74 gtecybertrustglobalca, May 10, 2002, trustedCertEntry, Certificate fingerprint (SHA1): 97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74 secomscrootca1, Jun 2, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 36:B1:2B:49:F9:81:9E:D7:4C:9E:BC:38:0F:C6:56:8F:5D:AC:B2:F7 trustcenterclass4caii, Apr 29, 2008, trustedCertEntry, Certificate fingerprint (SHA1): A6:9A:91:FD:05:7F:13:6A:42:63:0B:B1:76:0D:2D:51:12:0C:16:50 verisignuniversalrootca, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 36:79:CA:35:66:87:72:30:4D:30:A5:FB:87:3B:0F:A7:7B:B7:0D:54 globalsignr2ca, Aug 2, 2007, trustedCertEntry, Certificate fingerprint (SHA1): 75:E0:AB:B6:13:85:12:27:1C:04:F8:5F:DD:DE:38:E4:B7:24:2E:FE certplusclass2primaryca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 74:20:74:41:72:9C:DD:92:EC:79:31:D8:23:10:8D:C2:81:92:E2:BB digicertglobalrootca, Apr 16, 2008, trustedCertEntry, Certificate fingerprint (SHA1): A8:98:5D:3A:65:E5:E5:C4:B2:D7:D6:6D:40:C6:DD:2F:B1:9C:54:36 globalsignca, Mar 19, 2008, trustedCertEntry, Certificate fingerprint (SHA1): B1:BC:96:8B:D4:F4:9D:62:2A:A8:9A:81:F2:15:01:52:A4:1D:82:9C thawteprimaryrootca, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 91:C6:D6:EE:3E:8A:C8:63:84:E5:48:C2:99:29:5C:75:6C:81:7B:81 geotrustglobalca, Jul 18, 2003, trustedCertEntry, Certificate fingerprint (SHA1): DE:28:F4:A4:FF:E5:B9:2F:A3:C5:03:D1:A3:49:A7:F9:96:2A:82:12 soneraclass2ca, Mar 28, 2006, trustedCertEntry, Certificate fingerprint (SHA1): 37:F7:6D:E6:07:7C:90:C5:B1:3E:93:1A:B7:41:10:B4:F2:E4:9A:27 verisigntsaca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): BE:36:A4:56:2F:B2:EE:05:DB:B3:D3:23:23:AD:F4:45:08:4E:D6:56 soneraclass1ca, Mar 28, 2006, trustedCertEntry, Certificate fingerprint (SHA1): 07:47:22:01:99:CE:74:B9:7C:B0:3D:79:B2:64:A2:C8:55:E9:33:FF quovadisrootca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): DE:3F:40:BD:50:93:D3:9B:6C:60:F6:DA:BC:07:62:01:00:89:76:C9 valicertclass2ca, Jan 20, 2005, trustedCertEntry, Certificate fingerprint (SHA1): 31:7A:2A:D0:7F:2B:33:5E:F5:A1:C3:4E:4B:57:E8:B7:D8:F1:FC:A6 comodoaaaca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): D1:EB:23:A4:6D:17:D6:8F:D9:25:64:C2:F1:F1:60:17:64:D8:E3:49 addtrustqualifiedca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): 4D:23:78:EC:91:95:39:B5:00:7F:75:8F:03:3B:21:1E:C5:4D:8B:CF keynectisrootca, Apr 23, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 9C:61:5C:4D:4D:85:10:3A:53:26:C2:4D:BA:EA:E4:A2:D2:D5:CC:97 aolrootca2, Mar 19, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 85:B5:FF:67:9B:0C:79:96:1F:C8:6E:44:22:00:46:13:DB:17:92:84 verisignclass2g3ca, Mar 25, 2004, trustedCertEntry, Certificate fingerprint (SHA1): 61:EF:43:D7:7F:CA:D4:61:51:BC:98:E0:C3:59:12:AF:9F:EB:63:11 addtrustexternalca, May 2, 2006, trustedCertEntry, Certificate fingerprint (SHA1): 02:FA:F3:E2:91:43:54:68:60:78:57:69:4D:F5:E4:5B:68:85:18:68 aolrootca1, Mar 19, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 39:21:C1:15:C1:5D:0E:CA:5C:CB:5B:C4:F0:7D:21:D8:05:0B:56:6A verisignclass2g2ca, Mar 25, 2004, trustedCertEntry, Certificate fingerprint (SHA1): B3:EA:C4:47:76:C9:C8:1C:EA:F2:9D:95:B6:CC:A0:08:1B:67:EC:9D geotrustprimarycag3, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 03:9E:ED:B8:0B:E7:A0:3C:69:53:89:3B:20:D2:D9:32:3A:4C:2A:FD geotrustprimarycag2, Dec 10, 2009, trustedCertEntry, Certificate fingerprint (SHA1): 8D:17:84:D5:37:F3:03:7D:EC:70:FE:57:8B:51:9A:99:E6:10:D7:B0 swisssigngoldg2ca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): D8:C5:38:8A:B7:30:1B:1B:6E:D4:7A:E6:45:25:3A:6F:9F:1A:27:61 entrust2048ca, Jun 22, 2010, trustedCertEntry, Certificate fingerprint (SHA1): 50:30:06:09:1D:97:D4:F5:AE:39:F7:CB:E7:92:7D:7D:65:2D:34:31 camerfirmachambersignca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 4A:BD:EE:EC:95:0D:35:9C:89:AE:C7:52:A1:2C:5B:29:F6:D6:AA:0C camerfirmachambersca, Oct 31, 2008, trustedCertEntry, Certificate fingerprint (SHA1): 78:6A:74:AC:76:AB:14:7F:9C:6A:30:50:BA:9E:A8:7E:FE:9A:CE:3C godaddyclass2ca, Jan 20, 2005, trustedCertEntry, Certificate fingerprint (SHA1): 27:96:BA:E6:3F:18:01:E2:77:26:1B:A0:D7:77:70:02:8F:20:EE:E4 entrustsslca, Jan 9, 2003, trustedCertEntry, Certificate fingerprint (SHA1): 99:A6:9B:E6:1A:FE:88:6B:4D:2B:82:00:7C:B8:54:FC:31:7E:15:39 verisignclass1g3ca, Mar 25, 2004, trustedCertEntry, Certificate fingerprint (SHA1): 20:42:85:DC:F7:EB:76:41:95:57:8E:13:6B:D4:B7:D1:E9:8E:46:A5 secomevrootca1, Jun 2, 2008, trustedCertEntry, Certificate fingerprint (SHA1): FE:B8:C4:32:DC:F9:76:9A:CE:AE:3D:D8:90:8F:FD:28:86:65:64:7D verisignclass1g2ca, Mar 25, 2004, trustedCertEntry, Certificate fingerprint (SHA1): 27:3E:E1:24:57:FD:C4:F9:0C:55:E8:2B:56:16:7F:62:F5:32:E5:47 -sh-4.1$


(Luke Daley) #2

Hi Paul,

Can you please provide the output of a buildscript with just ‘println System.getProperties()’.


(psammirata) #3

{java.runtime.name=Java™ SE Runtime Environment,

jna.platform.library.path=/usr/lib64:/lib64, sun.boot.library.path=/usr/java/jdk1.7.0_45-cloudera/jre/lib/amd64,

java.vm.version=24.45-b08, java.vm.vendor=Oracle Corporation,

java.vendor.url=http://java.oracle.com/,

path.separator=:,

java.vm.name=Java HotSpot™ 64-Bit Server VM,

file.encoding.pkg=sun.io,

user.country=US,

sun.java.launcher=SUN_STANDARD, sun.os.patch.level=unknown,

java.vm.specification.name=Java Virtual Machine Specification, user.dir=/home/cldpoc/helloworld,

java.runtime.version=1.7.0_45-b18, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment,

java.endorsed.dirs=/usr/java/jdk1.7.0_45-cloudera/jre/lib/endorsed,

os.arch=amd64,

http.proxyUser=***,

java.io.tmpdir=/tmp,

line.separator= ,

org.gradle.appname=gradle,

java.vm.specification.vendor=Oracle Corporation, https.proxyHost=proxy.***.com,

os.name=Linux, jna.boot.library.path=/home/cldpoc/.gradle/native/jna/linux-amd64,

sun.jnu.encoding=UTF-8,

http.proxyPort=8080, java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib,

java.class.version=51.0, java.specification.name=Java Platform API Specification,

sun.management.compiler=HotSpot 64-Bit Tiered Compilers, http.proxyPassword=***,

os.version=2.6.32-358.el6.x86_64,

user.home=/home/cldpoc,

user.timezone=US/Central, java.awt.printerjob=sun.print.PSPrinterJob,

java.specification.version=1.7,

file.encoding=UTF-8,

user.name=cldpoc, java.class.path=/home/cldpoc/gradle/gradle-1.12/lib/gradle-launcher-1.12.jar,

java.vm.specification.version=1.7, sun.arch.data.model=64,

sun.java.command=org.gradle.launcher.GradleMain -q hello,

java.home=/usr/java/jdk1.7.0_45-cloudera/jre,

java.specification.vendor=Oracle Corporation,

user.language=en,

awt.toolkit=sun.awt.X11.XToolkit, java.vm.info=mixed mode,

https.proxyPassword=***,

https.proxyUser=***,

java.version=1.7.0_45, java.ext.dirs=/usr/java/jdk1.7.0_45-cloudera/jre/lib/ext:/usr/java/packages/lib/ext, http.proxyHost=proxy.***.com,

sun.boot.class.path=/usr/java/jdk1.7.0_45-cloudera/jre/lib/resources.jar:/usr/java/jdk1.7.0_45-cloudera/jre/lib/rt.jar:/usr/java/jdk1.7.0_45-cloudera/jre/lib/sunrsasign.jar:/usr/java/jdk1.7.0_45-cloudera/jre/lib/jsse.jar:/usr/java/jdk1.7.0_45-cloudera/jre/lib/jce.jar:/usr/java/jdk1.7.0_45-cloudera/jre/lib/charsets.jar:/usr/java/jdk1.7.0_45-cloudera/jre/lib/jfr.jar:/usr/java/jdk1.7.0_45-cloudera/jre/classes,

java.vendor=Oracle Corporation, file.separator=/,

java.vendor.url.bug=http://bugreport.sun.com/bugreport/,

sun.io.unicode.encoding=UnicodeLittle,

sun.cpu.endian=little,

https.proxyPort=8080,

sun.cpu.isalist=}


(Luke Daley) #4

Is this JDK patched in any way? (i.e. why the -cloudera prefix?)


(psammirata) #5

Thank you for your help Luke. I’m new to using gradle and found I was using the gradle wrapper incorrectly. The gradle wrapper (gradlew) was part of a software project that I downloaded from GitHub, but I didn’t download the project correctly and missed the gradlew file. Not knowing what I was doing I installed gradle and generated a gradlew stub script and attempted to use that to build the project. Once I realized I had missed the gradlew file I downloaded it and it works.


(Luke Daley) #6

Thanks for the update Paul.