Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

What?!!! Resin can't find java executable?

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been up and down for three blasted days total trying to get Resin installed successfully. I've gotten to the point of near abandonment. Tomcat, I have no problem with. But when I shut down Tomcat, and attempt to load up my newly installed Resin via httpd.exe, I get a bundle of inexplicable madness. Can anyone explain the following:


C:\resin-3.0.9>httpd.exe

Can't find java executable in C:\j2sdk1.4.2_03\bin
Couldn't start "(null)" -classpath ".;C:\resin-3.0.9;C:\tomcat\Tom5.0\common\lib\servlet-api.jar;C:\j2sdk1.4.2_03\xerces-2_6_1\xml-apis.jar;C:\j2sdk1.4.2_03\xerces-2_6_1\xerc
esImpl.jar;C:\j2sdk1.4.2_03\xerces-2_6_1\xercesSamples.jar; C:\j2sdk1.4.2_03\jre\lib\ext;C:\tomcat\Tom5.0\webapps\icds\WEB-INF\source;C:\resin-3.0.9\classes;C:\resin-3.0.9\lib
\resin.jar;C:\tomcat\Tom5.0\common\lib\servlet-api.jar;C:\j2sdk1.4.2_03\xerces-2_6_1\xml-apis.jar;C:\j2sdk1.4.2_03\xerces-2_6_1\xercesImpl.jar;C:\j2sdk1.4.2_0
3\xerces-2_6_1\xercesSamples.jar; C:\j2sdk1.4.2_03\jre\lib\ext;C:\tomcat\Tom5.0\webapps\icds\WEB-INF\source" -Dresin.home="C:\resin-3.0.9" -Djava.util.logging.manager=com.cauc
ho.log.LogManagerImpl -Djavax.management.builder.initial=com.caucho.jmx.MBeanServerBuilderImpl com.caucho.server.resin.Resin -socketwait 3112.

I am fairly certain it is the first line that is of main concern, since I have altered my classpath and always the first line appears saying it can't find the executable in my java bin... Meanwhile, Tomcat is pleased with my paths (of thought and the like). What more could Resin possibly want from me?

Thank you to anyone with input.
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess would be that you have updated your Java SDK installation to a later version, but not updated your JAVA_HOME environment variable to match it. Resin (and many other Java applications) looks for a JAVA_HOME environemnet variable to find where Java is.

Can you tell us where your "java.exe" is actually located ?
 
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


C:\resin-3.0.9>httpd.exe



I suppose the httpd.exe is in resin bin folder.
Make sure your env variable java_home & classpath is set to java SDK properly.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same problem. The JAVA_HOME path is correct but the computer still says it can't find java executable in C:\Program\Java\j2re1.4.2_06. What is wrong?

Thanks,
Joachim
 
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!