?
Solved

java set up

Posted on 2016-09-30
1
Medium Priority
?
86 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 2000 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

Certified OpenStack Administrator Course

We just refreshed our COA course based on the Newton exam.  With 14 labs, this course goes over the different OpenStack services that are part of the certification: Dashboard, Identity Service, Image Service, Networking, Compute, Object Storage, Block Storage, and Orchestration.

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses
Course of the Month11 days, 12 hours left to enroll

752 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