Skip to main content
This topic has been closed for replies.

2 replies

Known Participant
December 15, 2012

It needs to be mentioned that .java files must be (written and) compiled against jdk 1.6. So if you have newer jdk (like 1.7) add the following flags:

>javac -source 1.6 -target 1.6 Employee.java

BKBK
Community Expert
Community Expert
December 15, 2012

The flags wont be necessary soon, as ColdFusion 9 and 10 are going to be available in Java 7.

December 27, 2012

I have the same problem, as Kirill. Really it is strange.

Where is it mentioned about compilation "against jdk 1.6"??

Why dont put into examples description?

Known Participant
October 20, 2012

I did everything as this page suggests, but nothing is displayed on my output page after the call to cfobject tag. Everything that it is before the tag is outputted in the page, everything that is after the tag is not outputted. It is as if it was not cfobect, but cfabort tag. For example.

index.cfm

-- End of file --

So "Hi" is outputted to the page, but "See you!" is not!! It is as if there is an cfabort tag.

What do I do wrong?

Inspiring
October 21, 2012

This is the documentation website, not the support forums, so not really a very sensible place to ask questions. I recommend you post your code and your question on the community support forum. Indeed there's already a thread for you here: http://forums.adobe.com/message/4787999#4787999.

--

Adam