Announcement

Collapse
No announcement yet.

Unrecognized VM option '+UseCondCardMark' Could not create the Java virtual machine.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Unrecognized VM option '+UseCondCardMark' Could not create the Java virtual machine.

    Hello
    I just downloaded LINUX-voltdb-ent-5.0.2.tar.gz and installed on my Linux machine.
    I have installed Java : yum install java-1.6.0-openjdk-devel

    JAVA_HOME=/usr/lib/jvm/java-1.6.0-openjdk.x86_64; export JAVA_HOME
    PATH=$PATH:$JAVA_HOME; export PATH


    cd /home/voltdba/voltdb-ent-5.0.2/bin
    ./voltdb create catalog

    throws following error :

    Unrecognized VM option '+UseCondCardMark'
    Could not create the Java virtual machine.

    The following is the content in my /usr/lib/jvm/


    [root@dubsupvm004 jvm]# pwd
    /usr/lib/jvm
    [root@dubsupvm004 jvm]# ls -lrts
    total 8
    0 lrwxrwxrwx 1 root root 37 Mar 9 17:50 jre-1.6.0-openjdk.x86_64 -> java-1.6.0-openjdk-1.6.0.0.x86_64/jre
    0 lrwxrwxrwx 1 root root 27 Mar 9 17:50 jre-1.6.0 -> /etc/alternatives/jre_1.6.0
    4 drwxr-xr-x. 7 root root 4096 Mar 9 17:51 java-1.6.0-openjdk-1.6.0.0.x86_64
    0 lrwxrwxrwx 1 root root 33 Mar 9 17:51 java-1.6.0-openjdk.x86_64 -> java-1.6.0-openjdk-1.6.0.0.x86_64
    0 lrwxrwxrwx 1 root root 32 Mar 9 17:51 java-1.6.0 -> /etc/alternatives/java_sdk_1.6.0
    0 lrwxrwxrwx 1 root root 38 Mar 9 19:59 jre-1.7.0-openjdk.x86_64 -> java-1.7.0-openjdk-1.7.0.45.x86_64/jre
    0 lrwxrwxrwx 1 root root 21 Mar 9 19:59 jre -> /etc/alternatives/jre
    0 lrwxrwxrwx 1 root root 29 Mar 9 19:59 jre-openjdk -> /etc/alternatives/jre_openjdk
    0 lrwxrwxrwx 1 root root 27 Mar 9 19:59 jre-1.7.0 -> /etc/alternatives/jre_1.7.0
    4 drwxr-xr-x 7 root root 4096 Mar 9 19:59 java-1.7.0-openjdk-1.7.0.45.x86_64
    0 lrwxrwxrwx 1 root root 34 Mar 9 19:59 java-1.7.0-openjdk.x86_64 -> java-1.7.0-openjdk-1.7.0.45.x86_64
    0 lrwxrwxrwx 1 root root 26 Mar 9 19:59 java -> /etc/alternatives/java_sdk
    0 lrwxrwxrwx 1 root root 34 Mar 9 19:59 java-openjdk -> /etc/alternatives/java_sdk_openjdk
    0 lrwxrwxrwx 1 root root 32 Mar 9 19:59 java-1.7.0 -> /etc/alternatives/java_sdk_1.7.0
    [root@dubsupvm004 jvm]#



    We need to work / learn around with VoltDB and come up to the speed as soon as possible. This is my first hands on with VoltDB. Any help is much appreciated.


    Thanks,
    Gopal S

  • #2
    Hi Gopal,

    You may be trying to use a client edition of Java. Depending on the Java version, the '+UseCondCardMark' option may only be available in the server edition.

    Cheers,
    Steve
    --
    VoltDB Engineer

    Comment


    • #3
      VoltDB is not supported on Java6. For more information on required software see http://docs.voltdb.com/UsingVoltDB/ChapGetStarted.php.

      Comment


      • #4
        Thanks folks. I am able to resolve this and start VoltDB successfully.

        used the following Java, in the path and it worked.

        ls -lrts
        total 4
        4 drwxr-xr-x 9 root root 4096 Dec 18 16:31 jdk1.8.0_25
        0 lrwxrwxrwx 1 root root 21 Dec 18 16:31 latest -> /usr/java/jdk1.8.0_25
        0 lrwxrwxrwx 1 root root 16 Dec 18 16:31 default -> /usr/java/latest

        Comment


        • #5
          Excuse me,VoltDB Community Edition can deploy a cluster?

          Comment


          • #6
            Zhangbm,

            I've answered your question here.

            Peter Zhao

            Comment


            • #7
              For the next person who runs into this the answer is here: http://superuser.com/questions/74006...10-9-mavericks

              add this to your .bash_profile:

              export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"

              Comment


              • #8
                This is my first hands on with VoltDB. Any help is much appreciated.
                == http://www.crosswordchamp.com/ ==

                Comment


                • #9
                  Know more about...Java Virtual Machine

                  John

                  Comment

                  Working...
                  X