Solved

java set up

Posted on 2016-09-30
1
79 Views
Last Modified: 2016-09-30
When i type C:\Program Files\Apache Software Foundation\Tomcat 8.0\bin\startup.bat i get the message Neither the JAVA_HOME or JRE_HOME environment is defined,


I am totally new to JAVA and i am just installing INSTALLING TOMCAT ON YOUR MACHINE

Help

Toni
0
Comment
Question by:Anthony Matovu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 11

Accepted Solution

by:
Radek Baranowski earned 500 total points
ID: 41823364
type in
SET JAVA_HOME=<path to your jdk main dir>
SET JRE_HOME=<path to your jre main dir (typically the above plus "\jre">

and try again if it works, put those into system variables (Windows+Pause/Break, advanced settings, environment variables, System variables and add above two there)
0

Featured Post

Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question