module
Version:
v0.0.0-...-63c0616
Opens a new window with list of versions in this module.
Published: Feb 10, 2025
License: AGPL-3.0
Opens a new window with license information.
README
¶
WASM JDK
How to test
- 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
Directories
¶
|
|
cmd
|
|
|
|
|
|
|
|
See: https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-6.html#jvms-6.5
|
See: https://docs.oracle.com/javase/specs/jvms/se21/html/jvms-6.html#jvms-6.5 |
parser
This package declares standard Java class file parser
|
This package declares standard Java class file parser |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.