Where is java_home? I can’t find the Java binary!
Most people shouldn’t actually need to know where it is. Open up the terminal and just type “java”. If you see some usage instructions printed out, you are all set. Type “jar” and you should see something similar. Continue with the installation instructions and just leave out the “java_home” portion. In other words, the following command will work (assuming you are in the same directory as your jar file):
% java -jar coldfusion-j2ee-java.jar -i gui
(Don’t actually type the “%”. That represents your command prompt.) If, on the other hand, you see a “command not found” message, don’t worry. Try typing this, instead:
Now you should see the usage information. If it still doesn’t work, however, type this:
% locate java | grep bin
This command will show you where any file called “java” is located in a directory with the word “bin” in it. If this doesn’t work for you, you better just email me.
The files “java” and “jar” aren’t actually located in /usr/bin — they are symbolically linked from another directory. Although you don’t need to know this, in case you are curious, the actual files are located here:
By the way, symbolic links (commonly referred to as “soft links”) are a very convenient way to make files appear as though they are in different directories than they actually are (or even multiple directories). They are similar to shortcuts on Windows. To learn more, type “man ln” at the command prompt.
What am I supposed to do with this file called “index.cgi”?
If you downloaded a file called index.cgi from Macromedia’s website, I’m guessing you are using Internet Explorer. “index.cgi” is the name of the program on Macromedia’s server than initiates the download, and IE mistakes that for the name of the file being downloaded. Not to worry. Just rename it by your favorite renaming process to whatever the documentation tells you it should be named.
If you have other FAQs, email me, and I’ll post answers.