Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

java set up

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

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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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 …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Suggested Courses

636 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