- Download and Build miniJVM
git clone https://github.com/digitalgust/miniJVM.git
build minijvm
mkdir build && cd build && cmake -DCOVERALLS=ON -DCMAKE_BUILD_TYPE=Debug ../minijvm/c && cmake --build . && cmake --build . --target mini_jvm; cd -
build java
cd minijvm/java
mvn clean package
- Download awtk and awtk-minijvm
cd desktop
git clone https://github.com/zlgopen/awtk.git
git clone https://github.com/zlgopen/awtk-minijvm.git awtk_gui
- Build AWTK
cd awtk; scons; cd -
AWTK的编译环境请参考:https://github.com/zlgopen/awtk
- Build AWTK-MINIJVM
cd awtk_gui
make
- 生成资源
python ./scripts/update_res.py all
或者通过 designer 生成资源
- on linux
./run_on_linux.sh
- on macos
./run_on_mac.sh