Hi
Thanks for your feedback and welcome to our community.
There is a little difference between jdk8 and jdk11.
If you use jdk8 and run `java -version`, you will see
--------------------------------
$ java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
--------------------------------
If you use jdk11 and run `java -version`, you will see
--------------------------------
$ java -version
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)
--------------------------------
For jdk11 , the major version is in the first place, but for jdk8 is in the
second place. So when i get {major_version}.{minor_version}.xx, i will check
whether major_version is 1. if major_version equals to 1, i will use
minor_version. It works on jdk8. Otherwise, for jdk11, major_version equals to
11 and i will use this value.
Sorry about that I did not take OpenJDK into consideration, OpenJDK uses `+`
not `.` to split versions, I will find out how to make our script compatible
with both OracleJDK and OpenJDK soon.
Thanks
Xu Yi
On 2/1/2019 07:33,Andreas Oswald<[email protected]> wrote:
Hi, there,
I got the hint to IOTDB from Chris Dutz of codencentric in Germany the head of
Apache PCL4X (incubating)
I just have privat interest in time series databases. In my former job i have
worked intensly with a commercial database called infoplus.21 of the american
company aspentech. Being curious, if one could have got similar service with an
open source solution, I discussed that with Chris telling him, that I had tried
InfluxDB and he then told me about your project.
Being brave I started with building from source and ran in some small issues
when starting the server but now fail to connect the client to the server.
I´ve built the sources available from
https://github.com/apache/incubator-iotdb.git on Windows 10 with Maven 3.5.4
and OpenJDK 11+28
C:\>javac -fullversion
javac full version "11+28"
The version detection in start-server.bat can´t handle that fullversion yet. So
for testing I hardcoded
IF "%MAJOR_VERSION%" == "11+28" (
set JAVA_VERSION=11
REM set JAVA_VERSION=%MINOR_VERSION%
) else (
set JAVA_VERSION=%MAJOR_VERSION%
)
That´s just a hack that brought me to a running server. I could try to find a
way to detect that in a more flexible way, e.g. checking the first to
characters and if they form a "11" one can continue as Java 11. Actually I have
not understood, what the construct
IF "%MAJOR_VERSION%" == "1" (
set JAVA_VERSION=%MINOR_VERSION%
should have done.
OK, anyhow, I would like to work on your project and I´d be happy if you let me
take part and give me access to the mailing list.
Kind regards from Germany
Andreas
[https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png]<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virenfrei.
www.avg.com<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>