Open manvir-singh opened 7 years ago
Hi. I just successfully built and ran an OpenJDK build on Windows using Cygwin:
mkdir /work
cd /work
git clone git@github.com:dicej/avian
git clone git@github.com:readytalk/win64
wget https://github.com/ojdkbuild/ojdkbuild/releases/download/1.8.0.121-1/java-1.8.0-openjdk-1.8.0.121-1.b13.ojdkbuild.windows.x86_64.zip
# extract the above using Windows Explorer's "Extract All..." command; using Cygwin's unzip will give incorrect file permissions
cd avian
export JAVA_HOME=/work/java-1.8.0-openjdk-1.8.0.121-1.b13.ojdkbuild.windows.x86_64/
make openjdk=$JAVA_HOME test
Sorry, I don't use MSYS2, so I don't have any advice there. If you want to try Cygwin, be sure to install the git
, wget
, mingw64-i686-gcc-g++
, and mingw64-x86_64-gcc-g++
packages.
How can I build with the openjdk classlibrary on windows? I've been able to successfully compile avian without openjdk, but avian is missing some classes I need so i want to use openjdk. But I can't get openjdk to work. Running the below command
make openjdk=path-to-openjdk
Gives me class not found error. I don't even know where to get openjdk for windows from. I was able to find a version by Red Hat, but it seems to not work.I'm using MSYS2