播放框架和Java版本 [英] Play framework and Java version

查看:118
本文介绍了播放框架和Java版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道play框架版本(我的java应用程序)与我的应用程序的java版本之间是否有任何关联?

I would like to know if there is any connection between the play framework version (of my java app) to the java version of my app?

示例:if我使用play 2.2.1并且在我的计算机上安装了java8。我可以在代码中使用java8东西吗?

Example: if I use play 2.2.1 and has java8 on my computer. Can I use java8 stuff in my code?

如果有连接。什么是第一个适用于java8的播放版本?

If there is a connection. What is the first play version that works with java8?

谢谢
Niv

Thank you Niv

推荐答案

Play 2.3.x是第一个提到Java 8的版本,请看这里

The Play 2.3.x is first version that mentions Java 8, see here

今天早上我和我的同事谈话时发现运行2.1.x对Java 8有些问题,幸运的是他 - 他可以用较低的Java运行他的项目。

Today morning I was talking with colleague of mine who found running 2.1.x some kind of problematic with Java 8, fortunately for him - he can run his project with lower Java.

我担心,你可以遇到2.2.x的一些问题,好的选择是创建小型项目并针对2.2.1测试Java 8功能,或者更好 - 将应用程序的Play版本升级到2.3.x,这是迁移教程

I'm afraid, that you can meet some problems with 2.2.x as well, the good option is to create small projects and test the Java 8 features against 2.2.1, or better - rise the app's Play version to 2.3.x, here's the migration tutorial

这篇关于播放框架和Java版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆