You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/12/13 10:50:07 UTC

[GitHub] [doris] gojumprope opened a new issue, #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

gojumprope opened a new issue, #15039:
URL: https://github.com/apache/doris/issues/15039

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   apache doris be version 1.2.0
   
   java version
   openjdk version "1.8.0_352"
   OpenJDK Runtime Environment (build 1.8.0_352-8u352-ga-1~20.04-b08)
   OpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)
   
   
   ### What's Wrong?
   
   unable to start be server
   
   ubuntu@dorisbe2:~/doris/apache-doris-be-1.2.0-bin-x86_64$ sudo bin/start_be.sh
   WARNING: Logging before InitGoogleLogging() is written to STDERR
   W1213 10:45:01.800364 67632 doris_main.cpp:382] Failed to initialize JNI: Failed to find the library libjvm.so.
   
   
   ### What You Expected?
   
   able to start backend server
   
   ### How to Reproduce?
   
   download be 1.2.0 in ubuntu server
   https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=doris/1.2/1.2.0-rc04/apache-doris-be-1.2.0-bin-x86_64.tar.xz
   
   put java udf jar file in doris/be/lib
   
   sudo be/bin/start_be.sh
   
   WARNING: Logging before InitGoogleLogging() is written to STDERR
   W1213 10:48:04.386593 69801 doris_main.cpp:382] Failed to initialize JNI: Failed to find the library libjvm.so.
   
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] Data-bytes305 commented on issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

Posted by GitBox <gi...@apache.org>.
Data-bytes305 commented on issue #15039:
URL: https://github.com/apache/doris/issues/15039#issuecomment-1348647370

   @Wilson-BT 
   Already added the JAVA variable as you suggested,problem still not resolved
   os: Ubuntu20.04
   doris: doris -1.2
   java: java version "1.8.0_201"
   Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
   Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode).
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] gojumprope commented on issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

Posted by GitBox <gi...@apache.org>.
gojumprope commented on issue #15039:
URL: https://github.com/apache/doris/issues/15039#issuecomment-1350196470

   > 
   
   thank you. the problem is solved


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] Wilson-BT commented on issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

Posted by GitBox <gi...@apache.org>.
Wilson-BT commented on issue #15039:
URL: https://github.com/apache/doris/issues/15039#issuecomment-1348791938

   > @Wilson-BT Already added the JAVA variable as you suggested,problem still not resolved os: Ubuntu20.04 doris: doris -1.2 java: java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode).
   
   but,i have the same problem,and had solved by it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] Wilson-BT commented on issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

Posted by GitBox <gi...@apache.org>.
Wilson-BT commented on issue #15039:
URL: https://github.com/apache/doris/issues/15039#issuecomment-1348493672

   you should add ```export JAVA_HOME = xxx``` Path to start_be.sh.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] Wilson-BT commented on issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

Posted by GitBox <gi...@apache.org>.
Wilson-BT commented on issue #15039:
URL: https://github.com/apache/doris/issues/15039#issuecomment-1348801376

   Answer had been given you from this pr .https://github.com/apache/doris/pull/15045


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] gojumprope closed issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"

Posted by GitBox <gi...@apache.org>.
gojumprope closed issue #15039: [Bug] BE 1.2.0 unable to start due to "Failed to initialize JNI: Failed to find the library libjvm.so"
URL: https://github.com/apache/doris/issues/15039


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org