Win2012DevSetup - daudo/ojdkbuild GitHub Wiki
Goal
Setup minimal development environment in Windows 2012 that will allow to build ojdkbuild
.
Outline:
Prerequisites
- Windows 2012 running in VirtualBox (see Win2012VBoxInstall)
- (optional) initial setup for Windows VM (see Win2012InitialSetup)
Terminal Emulator
Lets install ConEmu terminal emulator for cmd.exe
:
- Download
ConEmu
installer from releases page on GitHub and run it:
- Disable the injection of
ConEmuHk.dll
in initial settings after the installation:
Git and Unix Tools
Lets install Git for Windows that will provide a Git Bash
and also the Unix tools that will be available from cmd.exe
:
- Download Git for Windows installer and run it:
- Use the following installation options:
- Restart
ConEmu
and check that Unix tools are available there:
Vim Text Editor
Lets install Vim text editor and configure it to behave closer to Linux version:
- Download Vim installer and run it using default installation options:
- Run
vim
withAdministrator
privileges:
- From inside
vim
open aC:\Program Files (x86)\Vim\_vimrc
configuration file:
- Comment two lines that contain
mswin
options, add your preferredVim
settings:
- Check the
Edit with Vim
options work inExplorer
:
Run the Build
Lets build ojdkbuild
project:
- In
ConEmu
rungit clone --recursive https://github.com/ojdkbuild/ojdkbuild.git
:
- Run
cd ojdkbuild
andrun.bat
:
- Wait for build to finish -
OJDKBUILD_FINISH_SUCCESS
should be printed:
- Check resulting binaries in
build
directory: