You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/01/05 12:47:43 UTC

[GitHub] [rocketmq] chensun2020 opened a new issue #2553: openjdk11 mq4.8. mqnamesrv error

chensun2020 opened a new issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553


   -Djava.ext.dirs=/jre/lib/ext:/usr/rocketmq/rocketmq-all-4.8.0-bin-release/bin/../lib:/lib/ext is not supported.  Use -classpath instead.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] francisoliverlee commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
francisoliverlee commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-755040770


   try it on oracle jdk


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] chensun2020 commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
chensun2020 commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-755042914


   > > try it on oracle jdk, not sure open jdk
   > 
   > I use oracle jdk 11, reduce the operating parameters of the JVM, and still report the same error
   
   -Djava.ext.dirs=/Library/Java/JavaVirtualMachines/jdk-11.0.9.jdk/Contents/Home/jre/lib/ext:/usr/local/rocketmq/rocketmq-all-4.8.0-bin-release/bin/../lib:/Library/Java/JavaVirtualMachines/jdk-11.0.9.jdk/Contents/Home/lib/ext is not supported.  Use -classpath instead.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] bufanyun commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
bufanyun commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-1009564965


   +3


-- 
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: dev-unsubscribe@rocketmq.apache.org

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



[GitHub] [rocketmq] vongosling closed issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
vongosling closed issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553


   


-- 
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.

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



[GitHub] [rocketmq] willseeyou commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
willseeyou commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-773151639


   +1
   
   
   
   /mnt/i/rocketmq/rocketmq-all-4.8.0-bin-release/bin/runserver.sh: 70: [[: not found
   -Djava.ext.dirs=/jre/lib/ext:/mnt/i/rocketmq/rocketmq-all-4.8.0-bin-release/bin/../lib:/lib/ext is not supported.  Use -classpath instead.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ➜  rocketmq-all-4.8.0-bin-release  java -version
   openjdk version "11.0.9.1" 2020-11-04
   OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
   OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
   


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] sicklife commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
sicklife commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-757066495


   +1


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] zhangbobo131415 commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
zhangbobo131415 commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-778898114


   i use --class-path replace -Djava.ext.dirs,but anthor error occures 
   Error: Could not find or load main class org.apache.rocketmq.namesrv.NamesrvStartup
   Caused by: java.lang.ClassNotFoundException: org.apache.rocketmq.namesrv.NamesrvStartup


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] angelyouyou commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
angelyouyou commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-766519481


   > +1
   
   +2


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] smiletrl commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
smiletrl commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-822024676


   This [article](https://chowdera.com/2021/01/20210107122409152h.html) might be helpful for JDK 1.9+. To make it simple, I just used jdk 1.8. Then it works fine. The two commands are also required to make it start successfully.
   
   ```
   mkdir -p ~/store/commitlog/
   mkdir -p ~/store/consumequeue/ 
   ```


-- 
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.

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



[GitHub] [rocketmq] francisoliverlee edited a comment on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
francisoliverlee edited a comment on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-755040770


   try it on oracle jdk, not sure open jdk


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] willseeyou commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
willseeyou commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-773151639


   +1
   
   
   
   /mnt/i/rocketmq/rocketmq-all-4.8.0-bin-release/bin/runserver.sh: 70: [[: not found
   -Djava.ext.dirs=/jre/lib/ext:/mnt/i/rocketmq/rocketmq-all-4.8.0-bin-release/bin/../lib:/lib/ext is not supported.  Use -classpath instead.
   Error: Could not create the Java Virtual Machine.
   Error: A fatal exception has occurred. Program will exit.
   ➜  rocketmq-all-4.8.0-bin-release  java -version
   openjdk version "11.0.9.1" 2020-11-04
   OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
   OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)
   


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] sicklife commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
sicklife commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-757066495


   +1


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] angelyouyou commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
angelyouyou commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-766519481


   > +1
   
   +2


----------------------------------------------------------------
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.

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



[GitHub] [rocketmq] chensun2020 commented on issue #2553: openjdk11 mq4.8. mqnamesrv error

Posted by GitBox <gi...@apache.org>.
chensun2020 commented on issue #2553:
URL: https://github.com/apache/rocketmq/issues/2553#issuecomment-755042182


   > try it on oracle jdk, not sure open jdk
   
   I use oracle jdk 11, reduce the operating parameters of the JVM, and still report the same error 
   
   


----------------------------------------------------------------
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.

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