Java 1.5 and ColdFusion

September 03, 2004

Sun rolled out Release Candidate 1 for Java 1.5 (or J2SE 5) yesterday, so what goodies are in it for ColdFusion Developers?

  • AMD 64 Support - this means that ColdFusion will be running in 64 bit mode instead of 32 bit mode on AMD 64bit processors. This is supported on SuSe linux and Windows 2003.
  • Improved Virtual Machine Performance - Improved Parallel Garbage Collector that adapts to the memory needs of the application. Sort of like an auto tuning feature.
  • API for Monitoring and Managing the JVM - You can query for peak memory usage, access to all memory/cpu info for the server, Garbage collection info, you can create Memory Notification events, and more.
  • High Precision Timing Support - nanosecond granularity time source
  • Other Language Features and API support - there are lots more API and language features that are useful if your using Java with ColdFusion, check out the release notes.

The J2SE 5 Release notes are here. This is why I have always been a big fan of Macromedia's decision to move to Java. They have several other companies working on optimizing the platform (Java) on which ColdFusion runs.

1 person found this page useful, what do you think?


Now all we need is for Macromedia to list 1.5 as a supported JVM version ;-)
I should have also mentioned that the AMD 64 support also means that you can allocate more than 1.8GB of memory to ColdFusion!
Good news! But be carefull switching your JVMs. AFAIK ColdFusion MX 6.1 IS NOT compatible with 1.5 till now.
When I call a webservice I get coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 2 system errors: at coldfusion.jsp.JavaCompiler.compileClass
Hello people out there, I am trying to invoke webservices from cold fusion and I am getting the below error. I am using Coldfusion MX 6.1 with jdk1.5.0_03. []coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 2 system errors: *** Error: Could not find package "java/util" in: C:/Program Files/Java/jdk1.5.0_03/jre/lib/ext/dnsns.jar C:/Program Files/Java/jdk1.5.0_03/jre/lib/ext/localedata.jar C:/Program Files/Java/jdk1.5.0_03/jre/lib/ext/sunjce_provider.jar C:/Program Files/Java/jdk1.5.0_03/jre/lib/ext/sunpkcs11.jar C:\CFusionMX\wwwroot\WEB-INF\classes C:\CFusionMX\wwwroot\WEB-INF\lib\js.jar C:\CFusionMX\wwwroot\WEB-INF\lib\commons-collections.jar C:\CFusionMX\wwwroot\WEB-INF\lib\commons-beanutils.jar C:\CFusionMX\wwwroot\WEB-INF\lib\aebn-delivery-2.0.0.jar C:\CFusionMX\wwwroot\WEB-INF\lib\bhawk4j.jar C:\CFusionMX\wwwroot\WEB-INF\lib\JCEProUpdate.jar C:\CFusionMX\wwwroot\WEB-INF\lib\commons-codec-1.3.jar C:\CFusionMX\wwwroot\WEB-INF\lib\aebn-inf.jar C:\CFusionMX\wwwroot\WEB-INF\lib\commons....
So, how can you compile a CFC web service if you have upgraded CFMX 6.1 to JDK 1.5?
update jikes - download latest jikes.exe from source forge and on windows rename it to jikesw.exe like the old as dirt version in CF and then restart - worked for 6.1 on 1.6
I have the same problem reported by Anil on 09/10/2007 (as above):
coldfusion.jsp.CompilationFailedException ...

Does anyone know what causes this?
"I have always been a big fan of Macromedia's decision to move to Java"
famous last words - no one could solve the CompilationFailed Exception problem above..

Post a Comment


Spell Checker by Foundeo

Recent Entries


did you hack my cf?