Problem with build local server for java 8

i try with command

mvn clean install -Dmaven.test.skip=true -Dcheckstyle.skip=true

java 8
this command work good for version blynk-server-0.35.3 but for version blynk-server-0.41.12 receive this error

It’s still working.
You can check and update your mvn and java version .
I’m using Apache Maven 3.6.1 and Oracle Java 11.0.5 on Ubuntu 18.04. (and Ubuntu 16.04 is still OK)

This is the output

xx@xx-Inspiron-3593:~/Java/MyCode/blynk-server-0.41.12$ uname -a
Linux xx-Inspiron-3593 5.0.0-37-generic #40~18.04.1-Ubuntu SMP Thu Nov 14 12:06:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

xx@xx-Inspiron-3593:~/Java/MyCode/blynk-server-0.41.12$ mvn -version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T15:00:29-04:00)
Maven home: /home/xx/Downloads/Alexa/Apache-Maven/apache-maven-3.6.1
Java version: 11.0.5, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-11-oracle
Default locale: en_CA, platform encoding: UTF-8
OS name: "linux", version: "5.0.0-37-generic", arch: "amd64", family: "unix"

xx@xx-Inspiron-3593:~/Java/MyCode/blynk-server-0.41.12$ mvn clean install -Dmaven.test.skip=true -Dcheckstyle.skip=true
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] Blynk Server                                                       [pom]
[INFO] server                                                             [pom]
[INFO] utils                                                              [jar]
[INFO] notifications                                                      [pom]
[INFO] email                                                              [jar]
[INFO] push                                                               [jar]
[INFO] twitter                                                            [jar]
[INFO] sms                                                                [jar]
[INFO] acme                                                               [jar]
[INFO] core                                                               [jar]
[INFO] http-core                                                          [jar]
[INFO] http-admin                                                         [jar]
[INFO] tcp-hardware-server                                                [jar]
[INFO] tcp-app-server                                                     [jar]
[INFO] http-api                                                           [jar]
[INFO] tcp-web-server                                                     [jar]
[INFO] launcher                                                           [jar]
[INFO] tools                                                              [jar]
[INFO] client                                                             [jar]
[INFO] integration-tests                                                  [jar]
[INFO] 
[INFO] ---------------------------< cc.blynk:blynk >---------------------------
[INFO] Building Blynk Server 0.41.12                                     [1/20]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ blynk ---
[INFO] 
[INFO] --- maven-checkstyle-plugin:3.0.0:check (validate) @ blynk ---
[INFO] 
[INFO] --- maven-install-plugin:2.4:install (default-install) @ blynk ---
[INFO] Installing /home/xx/Java/MyCode/blynk-server-0.41.12/pom.xml to /home/xx/.m2/repository/cc/blynk/blynk/0.41.12/blynk-0.41.12.pom
[INFO] 

.......................

[INFO] --- maven-install-plugin:2.4:install (default-install) @ integration-tests ---
[INFO] Installing /home/xx/Java/MyCode/blynk-server-0.41.12/integration-tests/target/integration-tests-0.41.12.jar to /home/xx/.m2/repository/cc/blynk/integration-tests/0.41.12/integration-tests-0.41.12.jar
[INFO] Installing /home/xx/Java/MyCode/blynk-server-0.41.12/integration-tests/pom.xml to /home/xx/.m2/repository/cc/blynk/integration-tests/0.41.12/integration-tests-0.41.12.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Blynk Server 0.41.12:
[INFO] 
[INFO] Blynk Server ....................................... SUCCESS [  0.691 s]
[INFO] server ............................................. SUCCESS [  0.028 s]
[INFO] utils .............................................. SUCCESS [  1.711 s]
[INFO] notifications ...................................... SUCCESS [  0.090 s]
[INFO] email .............................................. SUCCESS [  0.381 s]
[INFO] push ............................................... SUCCESS [  0.330 s]
[INFO] twitter ............................................ SUCCESS [  0.188 s]
[INFO] sms ................................................ SUCCESS [  0.217 s]
[INFO] acme ............................................... SUCCESS [  0.197 s]
[INFO] core ............................................... SUCCESS [  2.316 s]
[INFO] http-core .......................................... SUCCESS [  0.463 s]
[INFO] http-admin ......................................... SUCCESS [  0.465 s]
[INFO] tcp-hardware-server ................................ SUCCESS [  0.350 s]
[INFO] tcp-app-server ..................................... SUCCESS [  0.604 s]
[INFO] http-api ........................................... SUCCESS [  0.238 s]
[INFO] tcp-web-server ..................................... SUCCESS [  0.028 s]
[INFO] launcher ........................................... SUCCESS [  2.177 s]
[INFO] tools .............................................. SUCCESS [  1.689 s]
[INFO] client ............................................. SUCCESS [  1.636 s]
[INFO] integration-tests .................................. SUCCESS [  0.103 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  14.090 s
[INFO] Finished at: 2020-01-11T13:20:24-05:00
[INFO] ------------------------------------------------------------------------
xx@xx-Inspiron-3593:~/Java/MyCode/blynk-server-0.41.12$ 

how can i update my java

You have engineering background. So I guess you’d better do some easy research first on how to update Java.

1 Like

@Dmitriy why have i this error ?
so how can i build local server 0-41-12 with java 8 version from source file?
installed java version 1.8.231 on windows 32bit

i want to build server for java8

java version 1.8.231




Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\apache-maven-3.5.0\bin\..
Java version: 1.8.0_231, vendor: Oracle Corporation, runtime: C:\Program Files\J
ava\jdk1.8.0_231\jre
Default locale: en_US, platform encoding: Cp1256
OS name: "windows 7", version: "6.1", arch: "x86", family: "windows"

@Dmitriy
finally how can i build server.0.41.12.java8 from source file?

@Dmitriy
please help me on build

Grab the source files and have a go:

https://github.com/blynkkk/blynk-server/releases

same problem

@s.d.engineering the latest server requires java 11 or you can checkout java8 branch. How exactly do you run the build?

my java version installed 1.8.231

mvn clean install -Dmaven.test.skip=true -Dcheckstyle.skip=true

on rpi i use java8

@Dmitriy i want the server that compiled with version 8 like as you release on github

how can i do this

So you need to checkout the java8 branch than - https://github.com/blynkkk/blynk-server/tree/java8

are you understand me i want build server from source

???

Yes… I understand you. If you want to build the server from the sources. You need java 11. If you don’t have java 11 you need to checkout another branch of source code that could be build with java 8.

my system arch is x86 and there is n java11 x86(32bit) i have to build server-java8 after some change on setting so i have https://community.blynk.cc/uploads/default/original/3X/c/e/ce4936c60db22272bb04f6f353aaec6323f5c128.jpeg