Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Win2012DevSetup

ojdkbuild edited this page Jun 25, 2016 · 1 revision

Goal

Setup minimal development environment in Windows 2012 that will allow to build ojdkbuild.

Outline:

Prerequisites

Terminal Emulator

Lets install ConEmu terminal emulator for cmd.exe:

  1. Download ConEmu installer from releases page on GitHub and run it:

win2012_53

  1. Disable the injection of ConEmuHk.dll in initial settings after the installation:

win2012_57

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:

  1. Download Git for Windows installer and run it:

win2012_59

  1. Use the following installation options:

win2012_60 win2012_61 win2012_62 win2012_63 win2012_64

  1. Restart ConEmu and check that Unix tools are available there:

win2012_65

Vim Text Editor

Lets install Vim text editor and configure it to behave closer to Linux version:

  1. Download Vim installer and run it using default installation options:

win2012_66

  1. Run vim with Administrator privileges:

win2012_69

  1. From inside vim open a C:\Program Files (x86)\Vim\_vimrc configuration file:

win2012_70

  1. Comment two lines that contain mswin options, add your preferred Vim settings:

win2012_72

  1. Check the Edit with Vim options work in Explorer:

win2012_79

Run the Build

Lets build ojdkbuild project:

  1. In ConEmu run git clone --recursive https://github.com/ojdkbuild/ojdkbuild.git:

win2012_74

  1. Run cd ojdkbuild and run.bat:

win2012_76

  1. Wait for build to finish - OJDKBUILD_FINISH_SUCCESS should be printed:

win2012_77

  1. Check resulting binaries in build directory:

win2012_78