• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic