[highgo@hgdb benchmarksql-5.0]$ ant
Buildfile: build.xml
init:
compile:
[javac] Compiling 11 source files to /home/highgo/benchmarksql-5.0/build
[javac] /home/highgo/benchmarksql-5.0/src/client/jTPCCRandom.java:143: error: unmappable character for encoding ASCII
[javac] * be able to represent 128 different characters. '#@!%%??????'
[javac] ^
[javac] /home/highgo/benchmarksql-5.0/src/client/jTPCCRandom.java:143: error: unmappable character for encoding ASCII
[javac] * be able to represent 128 different characters. '#@!%%??????'
[javac] ^
[javac] /home/highgo/benchmarksql-5.0/src/client/jTPCCRandom.java:143: error: unmappable character for encoding ASCII
[javac] * be able to represent 128 different characters. '#@!%%??????'
[javac] ^
[javac] /home/highgo/benchmarksql-5.0/src/client/jTPCCRandom.java:143: error: unmappable character for encoding ASCII
[javac] * be able to represent 128 different characters. '#@!%%??????'
[javac] ^
[javac] /home/highgo/benchmarksql-5.0/src/client/jTPCCRandom.java:143: error: unmappable character for encoding ASCII
[javac] * be able to represent 128 different characters. '#@!%%??????'
[javac] ^
[javac] /home/highgo/benchmarksql-5.0/src/client/jTPCCRandom.java:143: error: unmappable character for encoding ASCII
[javac] * be able to represent 128 different characters. '#@!%%??????'
[javac] ^
[javac] 6 errors
BUILD FAILED
/home/highgo/benchmarksql-5.0/build.xml:24: Compile failed; see the compiler error output for details.
Total time: 1 second
[highgo@hgdb benchmarksql-5.0]$ export JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8
[highgo@hgdb benchmarksql-5.0]$ ant
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
Buildfile: build.xml
init:
compile:
[javac] Compiling 11 source files to /home/highgo/benchmarksql-5.0/build
dist:
[mkdir] Created dir: /home/highgo/benchmarksql-5.0/dist
[jar] Building jar: /home/highgo/benchmarksql-5.0/dist/BenchmarkSQL-5.0.jar
BUILD SUCCESSFUL
Total time: 3 seconds
安装benchmarksql报java:143: error: unmappable character for encoding ASCII
最新推荐文章于 2024-07-08 03:24:32 发布