diff --git a/hawtjni-maven-plugin/src/main/resources/project-template/readme.md b/hawtjni-maven-plugin/src/main/resources/project-template/readme.md index fe1469f7..6e4877fa 100644 --- a/hawtjni-maven-plugin/src/main/resources/project-template/readme.md +++ b/hawtjni-maven-plugin/src/main/resources/project-template/readme.md @@ -42,11 +42,16 @@ all the headers, libraries, and build tools needed to compile the JNI library. Set the `JAVA_HOME` environment variable to the location where your JDK is installed. -Use the "Start>All Programs>Microsoft Windows SDK vX.X>CMD" command window -and change to the directory that this file is located in and then run: +Use the installed command window and change to the directory that this file is located in and then run: - vcbuild vs2008.vcproj +For recent SDK Versions: + + msbuild vs2010.vcxproj (or ) + +For legacy SDK Versions: + + vcbuild vs2008.vcproj The dll files will be located under the target directory. -[1]: http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505 \ No newline at end of file +[1]: https://developer.microsoft.com/en-us/windows/downloads \ No newline at end of file diff --git a/hawtjni-website/src/documentation/developer-guide.md b/hawtjni-website/src/documentation/developer-guide.md index 63bfecb3..ef06141e 100644 --- a/hawtjni-website/src/documentation/developer-guide.md +++ b/hawtjni-website/src/documentation/developer-guide.md @@ -800,13 +800,12 @@ Download and install the free [Microsoft Windows SDK][ms_sdk]. The SDK includes all the headers, libraries, and build tools needed to compile the JNI library. Set the `JAVA_HOME` environment variable to the location where your JDK is -installed. +installed. -Make sure the `vcbuild` tool is on in your system PATH. The simplest way -to use SDK command prompt by following the following menu choices: -`Start > All Programs > Microsoft Windows SDK ... > CMD` +Make sure the `msbuild` (`vcbuild` for legacy SDK versions) tool is on in your system PATH. The simplest way +is to use SDK command prompt. -[ms_sdk]: http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e-1fd44e0e2505 +[ms_sdk]: https://developer.microsoft.com/en-us/windows/downloads ### Ubuntu Linux