Advertisement

07.06.2008 at 08:48AM PDT, ID: 23541758
[x]
Attachment Details

JRE and JDK on Mac OS X - Need overview and help installing additional software

Asked by sscotti in Leopard (MAC OS 10.5), Java Programming Language

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_Instructions

There are some .jar files there and a image io library, jai_imageio-1_1-lib-linux-i586-jdk.bin, that I need to install.  I've downloaded:

jai_imageio-1_1-lib-linux-i586-jdk.bin

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
 
Loading Advertisement...
 
[+][-]07.06.2008 at 09:17AM PDT, ID: 21940749

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 09:20AM PDT, ID: 21940760

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 09:49AM PDT, ID: 21940846

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.06.2008 at 10:02AM PDT, ID: 21940890

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Leopard (MAC OS 10.5), Java Programming Language
Sign Up Now!
Solution Provided By: sciuriware
Participating Experts: 4
Solution Grade: B
 
 
[+][-]07.06.2008 at 10:25AM PDT, ID: 21940975

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.06.2008 at 05:07PM PDT, ID: 21942076

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.08.2008 at 06:47AM PDT, ID: 21953740

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_EXPERT_20070906