Ubuntu 18.04 编译openjdk8 失败

发布于 2022-09-12 13:37:32 字数 23401 浏览 21 评论 0

\#\#\# 在Ubuntu 18.04下编译open jdk8失败

\#\#\# 系统环境 操作系统:Ubuntu 18.04 编译的版本1.8 引导的JDK 1.7.0_80

\#\#\# 相关代码
报错如下(截取后半部分):

...之前的省略
----_JAVA_LAUNCHER_DEBUG----
Generating Nimbus source files
[Error] encoded value was less than 0: encode(-8.326673E-17, 5.0, 11.0, 16.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] encoded value was greater than 3: encode(15.029411, 1.0, 14.0, 15.0)
[Error] encoded value was less than 0: encode(-0.05882353, 1.0, 24.0, 25.0)
[Error] Encountered Infinity: encode(-0.00877193, 0.0, 7.0, 7.0)
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1583: 错误: 非法的类型开始
----_JAVA_LAUNCHER_DEBUG----
^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1583: 错误: 需要';'
----_JAVA_LAUNCHER_DEBUG----
  ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1583: 错误: 需要<标识符>
----_JAVA_LAUNCHER_DEBUG----
                        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1583: 错误: 非法的类型开始
----_JAVA_LAUNCHER_DEBUG----
                          ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1584: 错误: 需要';'
Launcher state:
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1584: 错误: 需要<标识符>
Launcher state:
              ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1585: 错误: 需要<标识符>
    debug:on
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1586: 错误: 需要';'
    javargs:off
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1587: 错误: 需要';'
    program name:java
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1587: 错误: 需要<标识符>
    program name:java
                ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1588: 错误: 需要';'
    launcher name:java
            ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1588: 错误: 需要<标识符>
    launcher name:java
                 ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1589: 错误: 需要';'
    javaw:off
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1590: 错误: 需要';'
    fullversion:1.7.0_80-b15
               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1591: 错误: 需要';'
    dotversion:1.7
              ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1592: 错误: 需要<标识符>
    ergo_policy:DEFAULT_ERGONOMICS_POLICY
               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1593: 错误: 需要';'
Command line args:
       ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1593: 错误: 需要';'
Command line args:
                 ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要']'
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要';'
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 非法的类型开始
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要<标识符>
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要';'
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 非法的类型开始
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要';'
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要<标识符>
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                             ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 非法的类型开始
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要<标识符>
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                                    ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要';'
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                                     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 非法的类型开始
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                                        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1594: 错误: 需要';'
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
                                             ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 需要']'
argv[1] = -XX:+UseSerialGC
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 需要';'
argv[1] = -XX:+UseSerialGC
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 非法的类型开始
argv[1] = -XX:+UseSerialGC
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 需要<标识符>
argv[1] = -XX:+UseSerialGC
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 需要';'
argv[1] = -XX:+UseSerialGC
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 非法的类型开始
argv[1] = -XX:+UseSerialGC
             ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 需要<标识符>
argv[1] = -XX:+UseSerialGC
              ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1595: 错误: 需要';'
argv[1] = -XX:+UseSerialGC
               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1596: 错误: 需要']'
argv[2] = -Xms32M
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1596: 错误: 需要';'
argv[2] = -Xms32M
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1596: 错误: 非法的类型开始
argv[2] = -Xms32M
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1596: 错误: 需要<标识符>
argv[2] = -Xms32M
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1596: 错误: 需要';'
argv[2] = -Xms32M
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1597: 错误: 需要']'
argv[3] = -Xmx512M
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1597: 错误: 需要';'
argv[3] = -Xmx512M
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1597: 错误: 非法的类型开始
argv[3] = -Xmx512M
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1597: 错误: 需要<标识符>
argv[3] = -Xmx512M
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1597: 错误: 需要';'
argv[3] = -Xmx512M
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1598: 错误: 需要']'
argv[4] = -cp
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1598: 错误: 需要';'
argv[4] = -cp
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1598: 错误: 非法的类型开始
argv[4] = -cp
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1598: 错误: 需要<标识符>
argv[4] = -cp
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1598: 错误: 需要';'
argv[4] = -cp
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要']'
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要';'
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 非法的类型开始
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要';'
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 非法的类型开始
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要';'
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                              ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                  ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                          ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                             ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                                    ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                                           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                                                     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1599: 错误: 需要<标识符>
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
                                                                                         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1600: 错误: 需要']'
argv[6] = build.tools.spp.Spp
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1600: 错误: 非法的类型开始
argv[6] = build.tools.spp.Spp
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1600: 错误: 需要<标识符>
argv[6] = build.tools.spp.Spp
       ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1600: 错误: 需要';'
argv[6] = build.tools.spp.Spp
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1600: 错误: 非法的类型开始
argv[6] = build.tools.spp.Spp
               ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1600: 错误: 需要';'
argv[6] = build.tools.spp.Spp
                     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1601: 错误: 需要']'
argv[7] = -Dtype=char
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1601: 错误: 非法的类型开始
argv[7] = -Dtype=char
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1601: 错误: 需要<标识符>
argv[7] = -Dtype=char
       ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1601: 错误: 需要';'
argv[7] = -Dtype=char
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1601: 错误: 需要<标识符>
argv[7] = -Dtype=char
                ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 需要 '.class'
argv[8] = -DType=Char
^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 非法的类型开始
argv[8] = -DType=Char
    ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 需要<标识符>
argv[8] = -DType=Char
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 需要';'
argv[8] = -DType=Char
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 非法的类型开始
argv[8] = -DType=Char
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 需要<标识符>
argv[8] = -DType=Char
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 需要';'
argv[8] = -DType=Char
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 非法的类型开始
argv[8] = -DType=Char
                ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1602: 错误: 需要';'
argv[8] = -DType=Char
                     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 需要']'
argv[9] = -Dfulltype=character
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 需要';'
argv[9] = -Dfulltype=character
      ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 非法的类型开始
argv[9] = -Dfulltype=character
        ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 需要<标识符>
argv[9] = -Dfulltype=character
         ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 需要';'
argv[9] = -Dfulltype=character
           ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 非法的类型开始
argv[9] = -Dfulltype=character
                    ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1603: 错误: 需要';'
argv[9] = -Dfulltype=character
                              ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1604: 错误: 需要']'
argv[10] = -Dmemtype=char
     ^
/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java:1604: 错误: 需要';'
argv[10] = -Dmemtype=char
       ^
make[2]: *** [/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc_no_srczip/_the.generated_beaninfo] Error 1
gensrc/GensrcSwing.gmk:77: recipe for target '/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc_no_srczip/_the.generated_beaninfo' failed
make[2]: *** 正在等待未完成的任务....
----_JAVA_LAUNCHER_DEBUG----
Launcher state:
    debug:on
    javargs:off
    program name:java
    launcher name:java
    javaw:off
    fullversion:1.7.0_80-b15
    dotversion:1.7
    ergo_policy:DEFAULT_ERGONOMICS_POLICY
Command line args:
argv[0] = /home/insaneXs/jdk1.7.0_80/bin/java
argv[1] = -XX:+UseSerialGC
argv[2] = -Xms32M
argv[3] = -Xmx512M
argv[4] = -cp
argv[5] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses
argv[6] = build.tools.cldrconverter.CLDRConverter
argv[7] = -base
argv[8] = /home/insaneXs/learn-jvm/openjdk/jdk/src/share/classes/sun/util/cldr/resources/21_0_1
argv[9] = -o
argv[10] = /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc
JRE path is /home/insaneXs/jdk1.7.0_80/jre
jvm.cfg[0] = ->-server<-
jvm.cfg[1] = ->-client<-
jvm.cfg[2] = ->-hotspot<-
jvm.cfg[3] = ->-classic<-
jvm.cfg[4] = ->-native<-
jvm.cfg[5] = ->-green<-
1 micro seconds to parse jvm.cfg
Default VM: server
Does `/home/insaneXs/jdk1.7.0_80/jre/lib/amd64/server/libjvm.so' exist ... yes.
mustsetenv: FALSE
JVM path is /home/insaneXs/jdk1.7.0_80/jre/lib/amd64/server/libjvm.so
1 micro seconds to LoadJavaVM
JavaVM args:
    version 0x00010002, ignoreUnrecognized is JNI_FALSE, nOptions is 9
    option[ 0] = '-Dsun.java.launcher.diag=true'
    option[ 1] = '-Djava.class.path=.'
    option[ 2] = '-XX:+UseSerialGC'
    option[ 3] = '-Xms32M'
    option[ 4] = '-Xmx512M'
    option[ 5] = '-Djava.class.path=/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/btclasses'
    option[ 6] = '-Dsun.java.command=build.tools.cldrconverter.CLDRConverter -base /home/insaneXs/learn-jvm/openjdk/jdk/src/share/classes/sun/util/cldr/resources/21_0_1 -o /home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc'
    option[ 7] = '-Dsun.java.launcher=SUN_STANDARD'
    option[ 8] = '-Dsun.java.launcher.pid=9108'
1 micro seconds to InitializeJVM
Main class is 'build.tools.cldrconverter.CLDRConverter'
App's argc is 4
    argv[ 0] = '-base'
    argv[ 1] = '/home/insaneXs/learn-jvm/openjdk/jdk/src/share/classes/sun/util/cldr/resources/21_0_1'
    argv[ 2] = '-o'
    argv[ 3] = '/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc'
1 micro seconds to load main class
----_JAVA_LAUNCHER_DEBUG----
BuildJdk.gmk:55: recipe for target 'gensrc-only' failed
make[1]: *** [gensrc-only] Error 2
/home/insaneXs/learn-jvm/openjdk//make/Main.gmk:115: recipe for target 'jdk-only' failed
make: *** [jdk-only] Error 2

\#\#\# 希望有大神可以帮忙看一下是什么问题,谢谢!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

愛上了 2022-09-19 13:37:33

/home/insaneXs/learn-jvm/openjdk/build/linux-x86_64-normal-server-slowdebug/jdk/gensrc/java/nio/ByteBuffer.java

这个文件的内容打出来看看, 看上去这个文件根本就不是Java代码。

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文