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

Selecting a JVM

 
Jenn Person
Ranch Hand
Posts: 89
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm running Tomcat 5.0.28. When installing the application it asks me to select the path of my JVM. At first I specified the path to my JDK.

The examples in tomcat run, my servlets can compile and run... but my JSP files won't compile at runtime because the it says "Perhaps JAVA_HOME isn't pointing to the JDK". I set the JAVA_HOME variable to the root folder of my JDK and still no results.

I read the Tomcat documentation and it states that if the JDK cannot be found it defaults to the JRE and after checking the Tomcat configuration is shows the JVM pointing to c:\Program Files\Java\jre1.6.0\bin\client\jvm.dll.

Should I set it to point somewhere else? Or is this something else I could be missing?

Jenn
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you installing Tomcat?
From the .exe version?
If so, during the installation wizard, there will be a screen where you can browse to your JDK. Just select the root directory of your JDK.

Tip: If your JAVA_HOME environment variable is set when before you run the install wizard, it will use that to find your JDK.

Also, Tomcat 5.5 and up doesn't need a full JDK. It ships with it's own compiler so, make sure you're following the right directions for the version you're using. They may differ.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic