简体   繁体   English

Java版本控制

[英]Java versioning

From the installation manual of Oracle's JDEdwards EnterpriseOne 来自Oracle JDEdwards EnterpriseOne的安装手册

JDK 1.5 is required. 需要JDK 1.5。 JDK 1.6 and higher have not been validated with EnterpriseOne as of November, 2008 截至2008年11月,JDK 1.6及更高版本尚未通过EnterpriseOne验证

As the sentence says, I need to get JDK 1.5. 正如句子所说,我需要获得JDK 1.5。 But the download page says Java SE 5 after Java SE 1.4 . 但是下载页面Java SE 1.4之后的Java SE 1.4 Java SE 5 I imposed to think Java SE 5 is JDK 1.5 . 我强调认为Java SE 5JDK 1.5 Am I right ? 我对吗 ?

You can download specific version of JDK 1.5 from the link you provided ( download page ). 您可以从您提供的链接( 下载页面 )下载特定版本的JDK 1.5。

In short, as mentioned in Oracle's official Java documentation: 简而言之,如Oracle官方Java文档中所述:

Both version numbers “1.5.0″ and “5.0″ are used to identify this release of the 
Java 2 Platform Standard Edition. Version “5.0″ is the product version, while 
“1.5.0″ is the developer version. The number “5.0″ is used to better reflect the 
level of maturity, stability, scalability and security of the J2SE.

Therefore the answer is yes, Java SE X and JDK 1.X are the same thing and usually used interchangeably. 因此答案是肯定的,Java SE X和JDK 1.X是相同的,通常可以互换使用。

See here for a more detailed explanation of the version numbering concept in Java. 有关 Java中版本编号概念的更详细说明, 请参见此处

You may also want to see here for quite similar discussion. 您可能还希望在此处看到非常类似的讨论。

You are right. 你是对的。 Java 5 and Java 1.5 are interchangable. Java 5和Java 1.5是可互换的。 It's a branding thing - I think Sun decided that having something still on version 1 didn't sound great. 这是一个品牌推广的东西 - 我认为Sun决定在版本1上保留一些东西并不是很好。

是的,Java 1.5和Java 5是一回事。

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

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