The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
The community will be in read-only from Tuesday 11:59pm (PST) to Wednesday 7:30am (PST)
Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Tomcat error

Highlighted
boskina
Super Collector

Tomcat error

Hello

When trying to open Tomcat, the following error appears on the screen:

"Windows cannot find '-Djava.endorsed.dirs='. Make sure you typed the name correctly, and then try again. To search for a file, click Search.
2 REPLIES
Saurabh Dubey
Honored Contributor

Re: Tomcat error

Hi Boskina,

Your setup seems to be missing the JAVA_HOME environment variable. That usually causes this error.

Regards,

Saurabh
Modesty is good!! But remember, all your life other people will try and take your achievements away from you, don't make it easy for them.
Saurabh Dubey
Honored Contributor

Re: Tomcat error

Hi,

Your need to define the java path in your JAVA_HOME variable in System properties-> Environment variables section.

Regards,

Saurabh
Modesty is good!! But remember, all your life other people will try and take your achievements away from you, don't make it easy for them.
//Add this to "OnDomLoad" event