AlloyTools / org.alloytools.alloy

Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
Other
696 stars 124 forks source link

Windows build fails with ClassNotFound error #117

Closed strump closed 4 years ago

strump commented 4 years ago

On Windows gradlew.bat script fails with error:

Could not find or load main class org.gradle.wrapper.GradleWrapperMain

This is because CLASSPATH variable has value $APP_HOME/.gradle-wrapper/gradle-wrapper.jar and variable $APP_HOME is not expanded.

How to fix: replace $APP_HOME with %APP_HOME%