[GRADLE-3034] UnsatisfiedLinkError starting Gradle 1.11 on windows7 amd64 Created: 25/Feb/14 Updated: 10/Feb/17 Resolved: 10/Feb/17 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | ||
Reporter: | Gradle Forums | Assignee: | Unassigned |
Resolution: | Won't Fix | Votes: | 0 |
Description |
on windows-7, after upgrading to gradle-1.11, we get the below exception. java.lang.UnsatisfiedLinkError: net.rubygrapefruit.platform.internal.jni.WindowsHandleFunctions.markStandardHandlesUninheritable(Lnet/rubygrapefruit/platform/internal/FunctionResult it looks somehow similar to [1]http://issues.gradle.org/browse/GRADL..., the long stacktrace, just in case: 09:51:17.608 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: |
Comments |
Comment by Gradle Forums [ 25/Feb/14 ] |
just to add, i run the native platform test provided at: and the result was:
|
Comment by Gradle Forums [ 25/Feb/14 ] |
Can you try removing the `~/.gradle/native` directory? |
Comment by Gradle Forums [ 25/Feb/14 ] |
did that, i removed the whole .gradle folder after the upgrade. and i got the error after that as well. now i tried to use an elevated (administrator) cmd, but same error with the test suite: Exception in thread "main" net.rubygrapefruit.platform.NativeException: Could not query file systems: could not query volume information (errno 5) i wanted to build the trunk of it, but i noticed it uses visual studio, which i do not have. |
Comment by Gradle Forums [ 25/Feb/14 ] |
same problem with gradle-1.11, even after deletion of ~/.gradle/native directory. No problems with gradle-1.10. Just after start of a build, I get this message: |
Comment by Gradle Forums [ 25/Feb/14 ] |
To build native-platform for Windows, you require the Visual Studio command-line tools. The best way to get these is the free download of [Visual Studio Express 2013 for Desktop]([1]http://www.microsoft.com/en-US/downlo...). |
Comment by Gradle Forums [ 25/Feb/14 ] |
downloaded and installed it. when calling "gradlew" it says: i tried it with gradle-1.10 as well, same error, see here the stacktrace: |
Comment by rupert thurner [ 13/May/14 ] |
the original error seems to be ok again with gradle-1.12. did not try again to build the native platform on windows. |
Comment by Benjamin Muschko [ 15/Nov/16 ] |
As announced on the Gradle blog we are planning to completely migrate issues from JIRA to GitHub. We intend to prioritize issues that are actionable and impactful while working more closely with the community. Many of our JIRA issues are inactionable or irrelevant. We would like to request your help to ensure we can appropriately prioritize JIRA issues you’ve contributed to. Please confirm that you still advocate for your JIRA issue before December 10th, 2016 by:
We look forward to collaborating with you more closely on GitHub. Thank you for your contribution to Gradle! |
Comment by Benjamin Muschko [ 10/Feb/17 ] |
Thanks again for reporting this issue. We haven't heard back from you after our inquiry from November 15th. We are closing this issue now. Please create an issue on GitHub if you still feel passionate about getting it resolved. |