Skip to content

LiterMC/wasm-jdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WASM JDK

How to test

  1. Clone openjdk/jdk21u
  2. Ensure you have the dependencies setup (such as openjdk 21/20)
  3. Build java source code into classes:
    git clone https://github.com/openjdk/jdk21u
    cd jdk21u
    bash configure
    make java
  4. Extract the class files:
    mkdir /tmp/govm-test
    cd build/*-server-release/jdk/modules
    cp -r ./*/* /tmp/govm-test/ 2>/dev/null
  5. Write and compile a java test file (can just have the main function), or copy the existing test file to /tmp/govm-test/
  6. Run gova in the directory (where you placed the java classfiles):
    go install github.com/LiterMC/wasm-jdk/cmd/gova@latest
    gova Test

Releases

No releases published

Packages

No packages published

Languages