File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

moving from Java 5 to Java 6

 
John Eric Hamacher
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to upgrade the JDK my Tomcat 5.5 is running on from Java 5 to Java 6. I used the Java tab in tomcat5w to change the JVM but I get the following error when I try to start the service:

[2007-10-04 10:01:42] [174 javajni.c] [error] The specified module could not be found.
[2007-10-04 10:01:42] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll
[2007-10-04 10:01:42] [1202 prunsrv.c] [error] ServiceStart returned 1

Are there any extra steps I need to take to get the change accomplished?

Thanks.

Eric
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From:
http://tomcat.apache.org/tomcat-5.5-doc/setup.html


Java location: The installer will use the registry or the JAVA_HOME environment variable to determine the base path of a J2SE 5 JRE.


I don't see any mention of Tomcat 5x being supported with Java 6.
Do you see it somewhere else?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Pie
Posts: 15150
31
Android IntelliJ IDE Java Scala Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe the Tomcat documentation does not say explicitly that Tomcat 5.5 runs on Java 6, but I've been running it on Java 6 (on Windows Vista) and it works without problems, so it should work just fine on Java 6.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by John Eric Hamacher:

[2007-10-04 10:01:42] [174 javajni.c] [error] The specified module could not be found.
[2007-10-04 10:01:42] [947 prunsrv.c] [error] Failed creating java C:\Program Files\Java\jdk1.6.0_01\jre\bin\server\jvm.dll


So, is the named file there? If not, is the path correct up to that point? Maybe you have a different patchlevel installed, or it's installed somewhere else? Maybe your "jre" directory is missing? Maybe the file is there, but not accessible (Windows does have some kind of access control, doesn't it?)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic