Solved

java set up

Posted on 2016-09-30
1
46 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
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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Fibonacci challenge 11 84
json format text only 4 65
Java passing arguments (type error) 2 35
mockito example issue 8 35
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

705 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now