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
ConEmuinstaller from releases page on GitHub and run it:

- Disable the injection of
ConEmuHk.dllin 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
ConEmuand 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
vimwithAdministratorprivileges:

- From inside
vimopen aC:\Program Files (x86)\Vim\_vimrcconfiguration file:

- Comment two lines that contain
mswinoptions, add your preferredVimsettings:

- Check the
Edit with Vimoptions work inExplorer:

Run the Build
Lets build ojdkbuild project:
- In
ConEmurungit clone --recursive https://github.com/ojdkbuild/ojdkbuild.git:

- Run
cd ojdkbuildandrun.bat:

- Wait for build to finish -
OJDKBUILD_FINISH_SUCCESSshould be printed:

- Check resulting binaries in
builddirectory:
