Category: Java

Installing Apache Maven on Windows 10 from powershell

To install Apache Maven on Windows 10, you only need to perform 3 steps: download the Maven’s zip file Unzip it to the directory you wish to install configure the Windows environment variables Prerequisite Ensure Java JDK 1.8 is installed, and “JAVA_HOME” is setup as an environment variable. I use powershell as my command line. Check which version of...

Upgrading Java JVM for Coldfusion

To upgrade the Java JVM that Coldfusion runs on top of: If you are running 32bit ColdFusion on Windows you’ll need the Java 7 JDK instead of the JRE, on all other platforms the JRE will suffice. Download and run installer from http://java.sun.com/javase/downloads/index.jsp Open the jvm.config, the file which is typically within the {ColdFusion root}runtimebin. Locate the line that starts with...

Connecting to MySQL from Coldfusion 7

Coldfusion 7 only shipped with MySQL 3 drivers.  Here is how to add drivers for newer versions (5 at the time of this writing): Get yourself a copy of the newest MySQL Connector JDBC driver from http://dev.mysql.com/downloads/ Locate the mysql-connector-java-*-bin.jar file and extract it into your cf_root/WEB-INF/lib folder on your CF server. Restart Coldfusion.   To add a new...