- Clone openjdk/jdk21u
- Ensure you have the dependencies setup (such as openjdk 21/20)
- Build java source code into classes:
git clone https://github.com/openjdk/jdk21u cd jdk21u bash configure make java
- Extract the class files:
mkdir /tmp/govm-test cd build/*-server-release/jdk/modules cp -r ./*/* /tmp/govm-test/ 2>/dev/null
- Write and compile a java test file (can just have the main function), or copy the existing test file to
/tmp/govm-test/
- Run gova in the directory (where you placed the java classfiles):
go install github.com/LiterMC/wasm-jdk/cmd/gova@latest gova Test
-
Notifications
You must be signed in to change notification settings - Fork 0
JRE in browser
License
LiterMC/wasm-jdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
JRE in browser
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published