I am running OS X Leopard 10.5.4 on a pretty new iMac core duo Xtreme. I was pretty sure that they came with JRE and JDK preinstalled, version 1.5. Looking at my Library Folder I see that I have folders for 1.3.1,1.4.2,1.5.0,1.6.0 and symlink to these from a few other versions. I also have A, Current and CurrentJDK. I am a little confused as to which one is used by what applications. There is a JavaPreferences app that is part of my OS that apparently allows you to choose which java version to use for java applets run from a browser. If you type some from the command line that uses java I'm note sure which version it uses. When I type java -version in the terminal window I get:
java version "1.6.0_05"
Java(TM) SE Runtime Environment (build 1.6.0_05-b13-120)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_05-b13-52, mixed mode)
My issue is that I have a tomcat server running and I want to develop some web apps using the tomcat server. The one I am interested in is at:
http://mircwiki.rsna.org/index.php?title=New_Installation_InstructionsThere are some .jar files there and a image io library, jai_imageio-1_1-lib-linux-
i586-jdk.b
in, that I need to install. I've downloaded:
jai_imageio-1_1-lib-linux-
i586-jdk.b
in
and tried to install and I get a message saying my install directory is not a proper JDK directory. So couple of questions:
1. How do I even know that I have a JDK installed and where is it. Seems that it would be "CurrentJDK"? Do I install into that or into a subdirectory.
2. For all of the other java file that I have, do I add them to my java installation files in the OS or can I keep them with the webapp within tomcat somehow. I would rather not clutter up my system files.
Start Free Trial