/mx_jdk

Mx configuration for developing https://github.com/openjdk/jdk.git

Primary LanguagePython

This repository defines an mx suite that can be used to generate configuration files necessary for editing the JVMCI Java and C++ sources in OpenJDK using Eclipse.

Getting Started

  1. Clone mx and put it on your PATH:
git clone https://github.com/graalvm/mx $HOME/mx
export PATH=$PATH:$HOME/mx
  1. Set JAVA_HOME to point to a boot JDK:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-16.jdk/Contents/Home
  1. Create a symlink to the src top level directory in the OpenJDK repo. If it is in ~/jdk-jdk/open you can skip this step as it will be done automatically.
  2. Generate the Eclipse configuration:
mx eclipseinit
  1. Open the generated Eclipse projects in Eclipse: File -> Import -> Git -> Projects from Git -> select local copy of this repo -> Next -> Finish