Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting up JVM settings with CF4.5

Status
Not open for further replies.

baden

Programmer
Joined
Feb 6, 2002
Messages
125
Location
US
I'm trying to make use of Java classes with CF 4.5. Pretty sure I've got the idea of putting/getting variables to/from the compiled class. I just can't get it to work.

ie: how about a simple HelloWorld.class file?

The problem seems to be with Java Virtual Machine Path... error: The JVM library could not be found. Please check if the file specified in the ColdFusion Administrator actually exists.

Does this need JRun installed or is there some dll it needs to point to?

Is there anything else that will creep up on me later?
 
So it looks like I found the JVM (I guess this thing isn't smart enough to have it pointed to JAVA_HOME.

Next issue:
Unhandled System exception !

java.lang.NoClassDefFoundError: CFTest. Java exception occurred in attempt to locate class 'CFTest' (you should verify that the class is in the CLASSPATH).

I have placed the class in a directory as defined in my system classpath, and also one defined in the CFADMIN Java Classpath setting. Same problem.

Help?
 
Solved these, I think... new listing
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top