up vote 1 down vote favorite
share [g+] share [fb]

With just Tomcat, it's pretty easy to change the JVM version. But using the tomcat add-on on an xampp install, I can't seem to figure out how to change the JVM to 6 from 5.

As well, this is installed on Vista as a Windows service on a dev box.

link|improve this question
1  
You might get more help with this at StackOverflow.com – thedude19 Sep 1 '09 at 17:11
I was going to but it seems more of a config issue... – user18969 Sep 1 '09 at 17:15
ServerFault would be your best bet, then. – thedude19 Sep 1 '09 at 17:19
Is there a way for to move the question without having to replicate it? – user18969 Sep 1 '09 at 17:49
feedback

migrated from superuser.com Sep 1 '09 at 17:56

This question came from our site for computer enthusiasts and power users.

2 Answers

Rather than try to figure out what environment variables and scripts to change, I took the easy way -

  1. Stop Tomcat if it's running
  2. Rename the <xampp dir>/tomcat/jre directory to something else (like jre.1.5.0)
  3. Copy the entire jre directory from your jdk installation into <xampp dir>/tomcat/jre
  4. Restart Tomcat

Note: this worked for me using the stand-alone Tomcat add-on under XAMPP. I haven't tested it when Tomcat is installed as a service, but it should still work.

link|improve this answer
feedback

Yes Alex Zuroff you are right that work but but don't forget to say they should take the JRE6 from the JDK6 where there are the folder ..../jre/bin/server/* else that do'nt work.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.