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

Apollo admin 2.0+ 如何找到合适的客户端兼容 jdk1.5, 1.6 #4967

Closed
3 tasks done
hekang123456 opened this issue Aug 30, 2023 · 3 comments
Closed
3 tasks done
Labels

Comments

@hekang123456
Copy link

hekang123456 commented Aug 30, 2023

期望
Apollo admin 2.0+ 情况下,找到合适的客户端兼容 jdk1.5, 1.6,或者在某个版本的基础上做一些小的改动。
简介明了地描述你希望正常情况下应该发生什么

@dosubot
Copy link

dosubot bot commented Aug 30, 2023

🤖

为了找到一个与JDK 1.5和1.6兼容的Apollo admin 2.0+的合适客户端,你可以使用Apollo客户端的1.x版本,例如1.9.1,因为它与Java 1.7运行环境兼容。然而,文档并未提供与JDK 1.5兼容性的信息。

对于JDK 1.6,你可以对Apollo客户端进行一些代码更改以降级。你可以参考Issue 483了解如何实现这一点。

以下是文档中的相关摘录:

## 1.1 环境要求

* Java: 1.8+
  * 要在Java 1.7运行环境中运行,请使用1.x版本的apollo客户端,例如1.9.1
* Guava: 20.0+
  * Apollo客户端默认会引用Guava 29。如果你的项目引用了其他版本,请确保版本号大于或等于20.0

>注意:对于Apollo客户端,如果需要,你可以进行一些代码更改以降级到Java 1.6,详见[Issue 483](https://github.com/apolloconfig/apollo/issues/483)

请注意,文档并未提供与JDK 1.5兼容性的信息。因此,建议至少升级到JDK 1.6以使用Apollo。

要使Apollo客户端与JDK 1.6兼容,你需要进行一些代码更改。具体需要进行的更改在提供的上下文中并未详细说明。然而,它提到你可以参考Apollo GitHub仓库上的Issue 483了解如何将Apollo客户端降级到Java 1.6。

请注意,Apollo客户端默认设计为在Java 1.8+上运行。如果你需要在Java 1.7运行环境中运行它,你应该使用Apollo客户端的1.x版本,例如1.9.1。

来源:

Sources


This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@stale
Copy link

stale bot commented Sep 30, 2023

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 30, 2023
@stale
Copy link

stale bot commented Oct 7, 2023

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

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

No branches or pull requests

1 participant