构建 WSO2 4.1.x 是否需要 Sun/Oracle JDK? [英] Is Sun/Oracle JDK required to build WSO2 4.1.x?

查看:31
本文介绍了构建 WSO2 4.1.x 是否需要 Sun/Oracle JDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

构建 WSO2 4.1.x 是否需要 Sun/Oracle JDK?

Is Sun/Oracle JDK required to build WSO2 4.1.x?

我尝试使用 OpenJDK 进行构建,但遇到了以下问题:

I tried building with OpenJDK, but ran into the following issue:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile 
  (default-compile) on project axis2-transport-testkit: Compilation failure: Compilation failure:
[ERROR] ... carbon_kernel_4.1.0/dependencies/transports/1.1.0-wso2v8/modules/testkit/
  src/main/java/org/apache/axis2/transport/testkit/doclet/ResourceInfoDoclet.java:[27,22] 
  error: package com.sun.javadoc does not exist

推荐答案

是的,构建 Carbon 需要 Oracle JDK.

Yes, Oracle JDK is required to build Carbon.

目前不推荐使用 Open JDK.

Currently Open JDK is not recommended.

请确保使用 Oracle JDK 1.6 来构建 Carbon.

Please make sure to use Oracle JDK 1.6 for building Carbon.

您可以使用 Oracle JRE 1.7 来运行 WSO2 产品,但使用 Java 7 编译源代码存在已知问题.

You can use Oracle JRE 1.7 for running WSO2 products, but there are known issues with compiling the source code with Java 7.

参见 http://docs.wso2.org/wiki/display/Carbon410/安装+先决条件了解更多信息.

这篇关于构建 WSO2 4.1.x 是否需要 Sun/Oracle JDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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