Forum: Installation

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

Unrecognized VM option '+UseCondCardMark' Could not create the Java virtual machine.
GopalS
Mar 9, 2015
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
scooper
Mar 9, 2015
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
rmorgenstein
Mar 9, 2015
VoltDB is not supported on Java6. For more information on required software see http://docs.voltdb.com/UsingVoltDB/ChapGetStarted.php.
GopalS
Mar 10, 2015
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
zhangbm
Apr 17, 2015
Excuse me,VoltDB Community Edition can deploy a cluster?
pzhao
Apr 17, 2015
Zhangbm,

I've answered your question here.

Peter Zhao
barncat
Jun 13, 2015
For the next person who runs into this the answer is here: http://superuser.com/questions/740064/how-to-install-java-1-7-runtime-on-macos-10-9-mavericks

add this to your .bash_profile:

export JAVA_HOME="/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"
jasmeen
Feb 18, 2016
This is my first hands on with VoltDB. Any help is much appreciated.
johnsonjeven
Feb 6, 2017
Know more about...Java Virtual Machine

John