Lazy Diary @ Hatena Blog

PowerShell / Java / miscellaneous things about software development, Tips & Gochas. CC BY-SA 4.0/Apache License 2.0

Tomcat いじり中

Tomcat のインストールが完了した後、http://localhost:8080 にアクセスして [JSP Examples] を試してみたんだけど、[JSP 2.0 Exapmles]-[Other JSP 2.0 Features]-[JSP Configuration] (/jsp-examples/jsp2/misc/config.jsp) が動かない。

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK 

って言われるんだけど、JAVA_HOME はちゃんと D:\j2sdk1.4.2_04 になってるんだよね (%WINDIR% = D:\WINNT) ……。

他のサンプルは JSPServlet ともに問題なく動いてるんで、これについては後回し。まずはドキュメントを読む。