简体   繁体   English

Neo4j 2和Java 8

[英]Neo4j 2 and Java 8

Java 8 is being released this week. Java 8将于本周发布。 When using neo4j 1.9 with Java 7 we saw warnings popping up that only 6 was supported but we never had any problem with the 1.9/7 combination. 当使用neo4j 1.9和Java 7时,我们看到警告突然出现,只支持6个,但我们从未对1.9 / 7组合有任何问题。

I know that neo4j 2 cannot use anything less than Java 7, but are there any restrictions for neo4j 2 to run on Java 8? 我知道neo4j 2不能使用比Java 7更少的东西,但是在Java 8上运行neo4j 2有什么限制吗?

We are currently using neo4j in combination with Java 8 at our company and (for ~3.5 months) I didn't notice anything wrong related to Java 8 at all. 我们目前在我们公司使用neo4j与Java 8结合使用(约3.5个月)我根本没有注意到与Java 8有关的任何错误。 Yes, there are warnings, but still, it looks alright to me. 是的,有警告,但是,它看起来还不错。 We used both 2.0.0 and 2.0.1. 我们使用了2.0.0和2.0.1。

By the way, not only java-related crashes were not encountered by me, but even neo4j itself haven't crashed not once during the aforementioned period. 顺便说一句,我不仅没有遇到与java相关的崩溃,甚至neo4j本身在上述期间也没有一次崩溃。

Upd. UPD。 (18.11.2014) It's been almost a year and I still have no complaints concerning Java 8 compatibility. (18.11.2014)已经差不多一年了,我仍然没有关于Java 8兼容性的抱怨。

The reason for that is that 1.9.x is officially supported with Oracle JDK 1.6, Neo4j 2.0.0/2.0.1 are supported with Oracle JDK 7. Running the full quality assurance pipeline is a resource intensive process, that's why the Neo4j guys decided officially support only the configurations mentioned above. 原因是1.9.x正式支持Oracle JDK 1.6,Oracle JDK 7支持Neo4j 2.0.0 / 2.0.1。运行完整的质量保证流程是一个资源密集型流程,这就是Neo4j家伙决定的原因官方仅支持上述配置。

This does not mean that Neo4j will not run with other JDKs as well, however you do this on your own risk and will not get commercial grade support for this. 这并不意味着Neo4j也不会与其他JDK一起运行,但是你自己承担风险并且不会获得商业级别的支持。

I'm not aware of any technical restrictions why Neo4j 2.0 will not run with JDK 8. 我不知道为什么Neo4j 2.0不能与JDK 8一起运行有任何技术限制。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM