Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问有没有计划升级此jvm来支持java11? #63

Closed
kayodesu opened this issue Sep 1, 2019 · 4 comments
Closed

请问有没有计划升级此jvm来支持java11? #63

kayodesu opened this issue Sep 1, 2019 · 4 comments

Comments

@kayodesu
Copy link
Contributor

kayodesu commented Sep 1, 2019

我刚看了一些jdk11里面找不到rt.jar了,一头雾水,不知如何下手。

@zxh0
Copy link
Owner

zxh0 commented Sep 1, 2019

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

@daniel-santos
Copy link

daniel-santos commented Sep 2, 2019

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

@zxh0
Copy link
Owner

zxh0 commented Sep 2, 2019

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.

@kayodesu kayodesu closed this as completed Sep 3, 2019
@zxh0
Copy link
Owner

zxh0 commented Oct 29, 2019

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 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants