Re: Silly question
Where is best to install Java, TomCat [sic], etc [sic]??
One question mark suffices to indicate an interrogative.
Under Root ie [sic] C:\Java
Any reason why it would be better to install under root rather than C:
You usually should avoid installing too many things directly in the root
All of my stuff (Tomcat, Apache, MySQL, Java, etc.) is installed under
C:\Program Files. The only reason I can think of off the top of my head
to not do this is that the space in "Program Files" sometimes messes up
scripts when they see it in the path.
But generally it works just fine. I'd recommend installing under
Program Files, everything expects it to be there.
Nothing expects Java to be in Program Files unless that's where the registry
locates it. What programs expect is to find Java either where the registry
says or where the envar JAVA_HOME says.
I never install Java under "C:/Program Files/". The installer lets you pick
any location you like. Install it in a location consistent with your policy
for installing stuff.
On multi-drive-letter Windows systems I usually put the OS and closely related
stuff on C: and user stuff on D:, with D: being more capacious. I put all my
Java stuff, including the likes of Tomcat and Glassfish, on D:, often under
D:/java/. Typically there will then be D:/java/netbeans/,
D:/java/apache-commons/, D:/java/sun/javadb/, and so on.
Which version of Java should I install for developing Web & JavaBean
The latest JDK, 1.6.17 I think.
Java 1.6.0_17, a.k.a. Java 6u17.
Note that JDK is different from the
regular Java install (JRE), but the JDK includes the JRE,
so once you have the JDK you are good to go.