Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9173801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:38:52+00:00 2026-06-17T16:38:52+00:00

I am having problems starting/running 64-bit Tomcat on Server 2008 R2 (64-bit) with 64-bit

  • 0

I am having problems starting/running 64-bit Tomcat on Server 2008 R2 (64-bit) with 64-bit JRE installed.

What I have installed:
(on Server 2008 R2 64-bit)

Tomcat 7.0.35 (64-bit version), unzipped to top level of C:\ so C:\tomcat contains all the Tomcat directories ie bin, conf, lib etc…

jre-7u11 (64-bit version) installed into C:\Program Files by running the exe

What I have done:

set CATALINA_HOME environment (user) variable to C:\tomcat

set JAVA_HOME system variable to C:\Program Files\Java\jre7

What I have tried (didn’t work):
setting JRE_HOME system variable to C:\Program Files\Java\jre7

using shorthand for the path ie:

C:\Progra~1\Java\jre7

to get rid of the whitespace

What happens:
On double-clicking the C:\tomcat\bin\startup.bat file, a cmd window momentarily opens, then immediately closes.
I added PAUSE to the bottom of startup.bat, and the output is as follows:

‘Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment variable is needed to run this program’

My question:
Have i not correctly set the JAVA_HOME environment variable?
(setting the JRE_HOME environment variable doesn’t work either)

also – there is nothing in the tomcat\logs folder

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:38:53+00:00Added an answer on June 17, 2026 at 4:38 pm

    where did you set these variables?

    If you defined them in a console prompt, have you tried running c:\tomcat\bin\startup.bat from the same prompt that you set your variables? My guess is that the double clicking starts a new environment which doesn’t see the variables set (in another environment)

    You can right-click “My Computer” > Properties > Advanced > Environment variables, to add JAVA_HOME to System variables, after this step is done try it again. Changing variables cannot affect running processes and incoming child processes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

FYI: I'm running Windows Server 2008 R2, with IIS 7.5 and Apache Tomcat 5.5.
im having problems starting a codeigniter project, the problem is that when i do
Im having problems with classpaths. I have used them before with import but I'm
I am having trouble running pecl install oauth on centos 5. I installed PHP
Having problems getting glassfish to even run on my server. jRuby is absoutely maddening
I have installed a program called node.js on my server to listen on port
I have an apache svn server running on a shared hosting linux account. The
Im having a problem starting or running any activity unit tests from within eclipse.
I have a newly installed wamp server. Actually i reinstalled it because i was
I'm running into a recurring problem while using the Tomcat server within the MyEclipse

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.