Code Monkey home page Code Monkey logo

Comments (4)

zxh0 avatar zxh0 commented on July 20, 2024 1

hi @daniel-santos jvm.go doesn't work with jdk9+ :(
I have a plan to rewrite it, but I need to find some free time to do so.

from jvm.go.

zxh0 avatar zxh0 commented on July 20, 2024

有,但是暂时没有时间 ;(

from jvm.go.

daniel-santos avatar daniel-santos commented on July 20, 2024

This is very weird. I guess they are moving to some strange jmod format? I'm using Gentoo and these are the largest files in dev-java/openjdk:

(daniel@love)$ ll -Sr $(qlist --exact 'dev-java/openjdk')| tail -10
-rw-r--r-- 1 root root   4489123 Apr 24 19:54 /usr/lib64/openjdk-11/lib/ct.sym
-rw-r--r-- 1 root root   5116496 Apr 24 19:54 /usr/lib64/openjdk-11/jmods/java.xml.jmod
-rw-r--r-- 1 root root   6176331 Apr 24 19:54 /usr/lib64/openjdk-11/jmods/jdk.internal.vm.compiler.jmod
-rw-r--r-- 1 root root   6757241 Apr 24 19:54 /usr/lib64/openjdk-11/jmods/jdk.compiler.jmod
-rw-r--r-- 1 root root   9554755 Apr 24 19:54 /usr/lib64/openjdk-11/jmods/jdk.localedata.jmod
-rw-r--r-- 1 root root  18082880 Apr 24 20:04 /usr/lib64/openjdk-11/lib/server/libjvm.so
-rw-r--r-- 1 root root  20217226 Apr 24 19:54 /usr/lib64/openjdk-11/jmods/java.desktop.jmod
-rw-r--r-- 1 root root  57846550 Apr 24 19:54 /usr/lib64/openjdk-11/lib/src.zip
-rw-r--r-- 1 root root 141036497 Apr 24 19:54 /usr/lib64/openjdk-11/lib/modules
-rw-r--r-- 1 root root 258323916 Apr 24 19:54 /usr/lib64/openjdk-11/jmods/java.base.jmod

The only .jar file is 104kB:

(daniel@love)$ ll /usr/lib64/openjdk-11/lib/jrt-fs.jar
-rw-r--r-- 1 root root 106238 Apr 24 19:54 /usr/lib64/openjdk-11/lib/jrt-fs.jar

@zxh0 btw, I love your jvm :) I haven't played with it enough yet though.

EDIT: I guess this is good though, because I read that jmod files can store native libraries as well: http://mail.openjdk.java.net/pipermail/jigsaw-dev/2018-April/013762.html

from jvm.go.

zxh0 avatar zxh0 commented on July 20, 2024

hi @kayodesu @daniel-santos , i have done some work (on jdk13 branch) to switch to jdk13. "Hello World" works now, but still have a lot of things to do .

from jvm.go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.