Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

While installing Tomcat unable to find J2SE 5.0 JRE

Status
Not open for further replies.

kribo

MIS
Aug 1, 1999
81
US
Hi,

I'm trying to re-install Tomcat and while re-installing Tomcat I get the message unable to find J2SE 5.0 JRE.
Even after pointing to the path of where JSDK is installed for example (C:\Sun\SDK\JDK\JRE\BIN\CLIENT), Tomcat is not accepting.
Here's the error message: NO JAVA VIRTUAL MACHINE FOUND IN FOLDER: (points to the directory provided).
If I click continue and the setup closes and have to restart from the beginning.

Is there a service that's preventing this?
Tomcat and JSDK were initially installed and I was able to open up a browser and view the Welcome page.
But once un-installed I now can't even proceed with the re-install without the correct path to J2SE 5.0 JRE.

Currently I'm trying to install this application on a Lotus Domino server (production server).
Has anyone come across this issue and will re-installing JSDK cause any issue when running on a Lotus Domino server?

Any help is appreciated.
Thank you.
 
You should point JAVA_HOME at C:\Sun\SDK\JDK
(Tomcat requires the javac compiler to compile JSP pages on-the-fly and this means using the JDK rather than the JRE. Alternatively, I think you can copy the tools.jar from the JDK installation into the Tomcat/server/lib which gives it the same capability).

Either way, you don't point JAVA_HOME all the way down to the directory you did. Either C:\Sun\SDK\JDK for the JDK or C:\Sun\SDK\JDK\JRE for the JRE.

Hope this helps.

Tim
 
Tim,

Thank you for the feedback.
I've pretty much exhausted all options that I could think of, even just pointing the directory to not go all the way to the \bin\client, but to no avail.
I just ran out of time and decided to just install the stand alone Java Virtual Machine and Tomcat right away sees the path.
I don't see a conflict do you?
How bout if it's being run on a Domino production server?

Thanks again.
 
Thought you'd already got the stand alone JVM. (If by standalone you mean the separate JDK installer from Sun). This will be fine.

I no absolutely nothing about Domino Production Servers. Never heard of these before.

Tim
 
..and when I say 'no' I mean, of course, 'know'. My spelling-brain short-circuits every now and then :)

Tim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top