[Geoserver-devel] error after installation, code status 500

Hello,

I have installed Geoserver on Windows XP (SP2), and I am using j2sdk1.4.2_10. I get the following error message:

HTTP ERROR: 500 Unable+to+compile+class+for+JSP%0A%0AAn+error+occurred+at+line%3A+%2D1+in+the+jsp+file%3A+null%0A%0AGenerated+servlet+error%3A%0A++++%5Bjavac%5D+Compiling+1+source+file%0A++++%5Bjavac%5D+java%2Elang%2ENoClassDefFoundError%3A+com%2Fsun%2Ftools%2Fjavac%2FMain%0A++++%5Bjavac%5D+Exception+in+thread+%22main%22+%0A%0A%0A

I’ve read the correspondence with Glenn Hazelton in the archives, but that didn’t solve my problem as the environmental variable is set correctly.

Any suggestions would be highly appreciated.

Thanks.

Ido Toxopeus

On 4/18/06, Ido Toxopeus <toxopeus@anonymised.com> wrote:

Hello,

I have installed Geoserver on Windows XP (SP2), and I am using j2sdk1.4.2_10. I get the following error message:

HTTP ERROR: 500 Unable+to+compile+class+for+JSP%0A%0AAn+error+occurred+at+line%3A+%2D1+in+the+jsp+file%3A+null%0A%0AGenerated+servlet+error%3A%0A++++%5Bjavac%5D+Compiling+1+source+file%0A++++%5Bjavac%5D+java%2Elang%2ENoClassDefFoundError%3A+com%2Fsun%2Ftools%2Fjavac%2FMain%0A++++%5Bjavac%5D+Exception+in+thread+%22main%22+%0A%0A%0A

your server is using a jre not your sdk. Check if JAVA_HOME points to the right place.

Ian

Ian Turton wrote:

your server is using a jre not your sdk. Check if JAVA_HOME points to the
right place.

You might also have multiple java's installed and you are using the wrong one. I thought I only had one java, but after searching I found 6 more!

dave