Skip to main content
Inspiring
July 20, 2008
Answered

cfadmin-what java runtime (think it is) to download

  • July 20, 2008
  • 4 replies
  • 915 views
I had to uninstall java as my computer went mad. It is fine now, I reinstalled cfmx7 and also the new mysql5. Then I tried to browse for a file to make a mdb datasource and it didn't work talking about the java applet not working. I then downloaded some version of java but it doesn't seem to work. I think I need java runtime machine or something think-which version do I need this is doing my nut in?! Thank-you
This topic has been closed for replies.
Correct answer -__cfSearching__-
It sounds to me like the issue is that you removed the Java Runtime Edition (JRE) which is a separate installation from ColdFusion completely. The JRE is used to run java applets in your webbrowser. The "browse" dialogs that show your directory tree in the ColdFusion administrator are just such an applet. So, the error you saw was from your browser and it is complaining that it cannot run the applet because no java is installed.

Go to java.sun.com and download the recommended Java SE runtime for your operating system and browser. Follow Sun's instructions.

ColdFusion installs its own Java Runtime and uses it by default. You have the option to update it if you need or want to. However, seems ColdFusion is all set.

Hydrowizard wrote:
> it didn't work talking about the java applet not working.

Yes, I think ksmith is right about the earlier problem being a browser issue. But since you said you reinstalled java (version 6 update 7) I think that problem should be solved now.

Originally I thought you might have changed your ColdFusion Adminstrator settings to point to a different jvm version than the default. But now that you posted the "IO error on server communication" error, it sounds like the problem may be the issue described here:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18046

4 replies

Inspiring
July 23, 2008
thank you for the replies it worked great cfsearching fortunately I didn't have to work out which java download I needed!! thanks again ken and cfsearching
Inspiring
July 22, 2008
I really don't know unfortunately which version of java I unistalled.

The order in which I did it was
1. I unistalled java
2. I uninstalled coldfusion7.

The folder is there with bin and lib folders in it and some rtf ones in the jre root:
C:/CFusionMX7/runtime/jre

In the ColdFusion Administrator. Server Settings > Java and JVM > Java Virtual Machine Path.

The error I get browsing directories in the cfadministrator is:
IO error on server communication

In my installed programs list it shows I have Java 6(TM) update 7 which is a 165mb file Version 1.6.0.70

I can unistall cfmx7 whatever you suggest. Thanks for you help
Inspiring
July 22, 2008
Hydrowizard wrote:
> The error I get browsing directories in the cfadministrator is:
> IO error on server communication

Perhaps the problem is not the jvm. That error sounds suspiciously like this one related to RDS:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_18046
July 22, 2008
It sounds to me like the issue is that you removed the Java Runtime Edition (JRE) which is a separate installation from ColdFusion completely. The JRE is used to run java applets in your webbrowser. The "browse" dialogs that show your directory tree in the ColdFusion administrator are just such an applet. So, the error you saw was from your browser and it is complaining that it cannot run the applet because no java is installed.

Go to java.sun.com and download the recommended Java SE runtime for your operating system and browser. Follow Sun's instructions.

ColdFusion installs its own Java Runtime and uses it by default. You have the option to update it if you need or want to. However, seems ColdFusion is all set.
Inspiring
July 21, 2008
I installed it after cfmx7.
The version I installed was:
http://www.java.com/en/download/manual.jsp
Windows XP/Vista/2000/2003 Offline
filesize: 15.18 MB
Inspiring
July 21, 2008
Hydrowizard wrote:
> I installed it after cfmx7.

No, I asked what version did you uninstall and when did you uninstall it? ie What was the order ..?

1. Reinstalled MX 7
2. Uninstalled java version (xxxx?)
...

Anyway, you need to have a jvm installed and the path in the ColdFusion Administrator should be pointing to the location of that jvm. The MX 7 installation usually installs JVM (version 1.4.2). The default path is C:/CFusionMX7/runtime/jre. I do not know if jvm 1.6+ works with MX 7 or not.

Check the ColdFusion Administrator. Server Settings > Java and JVM > Java Virtual Machine Path. What is the jvm path? Does that path even exist and does it actually contain a jvm?
Inspiring
July 20, 2008
Hydrowizard wrote:
> it didn't work talking about the java applet not working.

It is possible that could also be due to browser security restrictions.

> I had to uninstall java

What version of java did you uninstall and did you do this before or after you reinstalled MX 7?