Starting Tomcat 7 (java 7)

1

I'm installing Jdk7 and tomcat 7.
The installation of jdk7 was normal without any problem and the system variables have already been created and directed. After doing this step I was installing tomcat 7, however at the beginning I was giving an installation error because there was already a tomcat service on my machine. What I did was go to where the other tomcat was installed (obs: it's not the same version), and I removed the server.bat; I just removed it from the folder to be more accurate, then tried to install tomcat 7 again and the installation completed normally. I've made the necessary jre. However when I tried to start tomcat through the services screen the error below occurred

I went to see the s error logs and they were the ones that appeared to me

Running 'Tomcat7' Service...
Starting service...
CreateJavaVM Failed
O sistema não pôde encontrar a opção de ambiente digitada.
Failed to start Java ServiceStart returned 4
Run service finished.
Commons Daemon procrun finished
    
asked by anonymous 08.08.2017 / 17:03

1 answer

0

I'm sorry, I went to see after the error was in the Java Options of Tomcat 7 configuration I took time to realize and with the help of a colleague I realized. Oh well, I saw that there was a tomcat service installed too, so I had to remove it too. That is, in the end I removed the service from an old tomcat, and correctly configured Tomcat's Java Options. Even so, I thank everyone in the community who was willing to answer were valid tips and I apologize for the delay.

    
14.08.2017 / 15:04