ktpktr0 commented on issue #21930: URL: https://github.com/apache/pulsar/issues/21930#issuecomment-1902876021
Latest solutions If you want to use the Java 8 version to work with Pulsar, you need to pay attention to some issues. Here are my tests 1. All versions of Java8 do not support binary installation 2. Be sure to use the Java 8 version, which can be installed in rpm mode 3. Using Java11 can run normally Here are service examples ``` [Unit] Description=pulsar zookeeper After=network-online.target Wants=network-online.target [Service] Type=forking Environment="JAVA_HOME=/usr/local/java/jdk-11.0.22" #Environment=PATH=/usr/local/java/jdk-11.0.22/bin:$PATH LimitCORE=infinity LimitNOFILE=200000 Restart=on-failure RestartSec=30 StartLimitInterval=120 StartLimitBurst=3 KillMode=none ExecStart=/bin/bash /usr/local/pulsar/bin/pulsar-daemon start standalone ExecStop=/bin/bash /usr/local/pulsar/bin/pulsar-daemon stop standalone [Install] WantedBy=multi-user.target ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
