I am trying to use a jdbc/mysql connector. The issue is that the connector is compiled in a later version that what is installed in Coldfusion MX 6.1. I have downloaded and installed the Java 6 SE JDK and installed it. Here is my JVM config file.
#
# VM configuration
#
# Where to find JVM, if {java.home}/jre exists then that JVM is used
# if not then it must be the path to the JRE itself
#java.home=C:/Program Files (x86)/Java/jdk1.6.0_45/jre
#java.home=C:\\Program Files (x86)\\Java\\jdk1.6.0_45\\jre
#java.home=C:/Program Files (x86)/Java/jdk1.6.0_45
#java.home=C:\\Program Files (x86)\\Java\\jdk1.6.0_45
java.home=C:/CFusionMX/runtime/jre
#
# If no java.home is specified a VM is located by looking in these places in this
# order:
#
# 1) bin directory for java.dll (windows) or lib/<ARCH>/libjava.so (unix)
# 2) ../jre
# 3) registry (windows only)
# 4) JAVA_HOME env var plus jre (ie $JAVA_HOME/jre)
#
# Arguments to VM
java.args=-server -DJINTEGRA_NATIVE_MODE -DJINTEGRA_PREFETCH_ENUMS -Xmx512m -Dsun.io.useCanonCaches=false -Xbootclasspath/a:"{application.home}/../lib/webchartsJava2D.jar" -XX:MaxPermSize=128m -XX:+UseParallelGC
#
# commas will be converted to platform specific separator and the result will be passed
# as -Djava.ext.dirs= to the VM
java.ext.dirs={jre.home}/lib/ext
#
# where to find shared libraries
java.library.path={application.home}/../lib,{application.home}/../jint egra/bin,{application.home}/../jintegra/bin/international,{applicatio n .home}/../lib/_nti40/bin
system.path.first=false
# JVM classpath
java.class.path={application.home}/servers/lib,{application.home}/../l ib/cfusion.jar,{application.home}/../lib,{application.home}/../runtim e /lib/jrun.jar,{application.home}/../runtime/lib,
I have tried each of the 4 paths and only the last one works. The following is my Coldfusion error log.
Error loading: C:/Program Files (x86)/Java/jdk1.6.0_45/jre\bin\server\jvm.dll
Error loading: C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\server\jvm.dll
Error loading: C:/Program Files (x86)/Java/jdk1.6.0_45\jre\bin\server\jvm.dll
Error loading: C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin\server\jvm.dll
I have no idea why the jvm.dll can not be found as the file is in that directory.
(sorry for the cross post. This is probably the better place)