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

不准备兼容JDK11了么? #3060

Open
yann9 opened this issue Jan 31, 2019 · 10 comments
Open

不准备兼容JDK11了么? #3060

yann9 opened this issue Jan 31, 2019 · 10 comments

Comments

@yann9
Copy link

@yann9 yann9 commented Jan 31, 2019

jdk9 以后原来lib下的很多jar包删除了
编译会报一堆错误出来
现在都jdk11了,不准备兼容么?

Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
Errors occurred while build effective model from /Users/Yann/.gradle/caches/modules-2/files-2.1/com.alibaba/druid/1.1.9/e6a9ff9e84dd1c498d9e12373331fbacd92d330a/druid-1.1.9.pom:
    'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.9
    'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.9
...
...
...
...
省略几百行

@wenshao

This comment has been minimized.

Copy link
Member

@wenshao wenshao commented Jan 31, 2019

目前编译有问题,但运行使用应该没问题吧,我这边也会尽快花时间处理JDK 11编译错误的问题

@taojoe

This comment has been minimized.

Copy link

@taojoe taojoe commented May 13, 2019

解决的怎么样了?

@lehug

This comment has been minimized.

Copy link

@lehug lehug commented Aug 28, 2019

目前编译有问题,但运行使用应该没问题吧,我这边也会尽快花时间处理JDK 11编译错误的问题

赶紧解决呀

@ifu25

This comment has been minimized.

Copy link

@ifu25 ifu25 commented Oct 24, 2019

目前编译还是有问题:
openjdk 11

'dependencies.dependency.systemPath' for com.alibaba:jconsole:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/jconsole.jar in com.alibaba:druid:1.1.20
'dependencies.dependency.systemPath' for com.alibaba:tools:jar must specify an absolute path but is ${env.JAVA_HOME}/lib/tools.jar in com.alibaba:druid:1.1.20
@dannyxu2015

This comment has been minimized.

Copy link

@dannyxu2015 dannyxu2015 commented Nov 4, 2019

依旧有问题,会有楼上的提示信息出现。但貌似不影响使用,我用的是mac adoptopenjdk-11和 Linux openJDK 11+28,都出现类似错误信息。

@yacen

This comment has been minimized.

Copy link

@yacen yacen commented Nov 26, 2019

问题还在

@iamcyw

This comment has been minimized.

Copy link

@iamcyw iamcyw commented Dec 3, 2019

不影响使用,但是看着真的难受

@ifu25

This comment has been minimized.

Copy link

@ifu25 ifu25 commented Dec 3, 2019

我使用的临时解决方案,强迫症对这个问题真是无奈。
https://weiku.co/article/471/

@iamcyw

This comment has been minimized.

Copy link

@iamcyw iamcyw commented Dec 3, 2019

我使用的临时解决方案,强迫症对这个问题真是无奈。
https://weiku.co/article/471/

tks

@beijixing1745

This comment has been minimized.

Copy link

@beijixing1745 beijixing1745 commented Dec 27, 2019

我使用的临时解决方案,强迫症对这个问题真是无奈。
https://weiku.co/article/471/
tks

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

Successfully merging a pull request may close this issue.

None yet
9 participants
You can’t perform that action at this time.