[Bug 383331] New: Tomcat cannot compile JSPs
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=383331 Summary: Tomcat cannot compile JSPs Product: openSUSE 11.0 Version: Beta 1 Platform: All OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: mvyskocil@novell.com ReportedBy: jreuter@novell.com QAContact: qa@suse.de Found By: --- Tomcat on openSUSE 11.0 Beta 1 cannot compile JSPs, as the Eclipse JDT 3.3 Java compiler (/usr/share/tomcat6/lib/jasper-jdt.jar) is missing. Eclipse isn't even on the DVD5, and eclipse-jdt.rpm from FACTORY requires an almost complete Eclipse installation including the GUI, which is unacceptable for a non-development machine. The workaround by using the Java SDK compiler via Ant (copy ant.jar and ant-launcher.jar to the Tomcat lib directory) doesn't work either. Tomcat (or ant?) then sets JAVA_HOME to java.home, which points to the JRE: 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. It is currently set to "/usr/lib64/jvm/java-1.6.0-sun-1.6.0.u5/jre" (You can set java.home to /usr/lib64/jvm/java/ in conf/catalina.properties, however the classpath is still wrong then.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=383331
User mvyskocil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383331#c1
Michal Vyskocil
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=383331
User jreuter@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383331#c2
--- Comment #2 from Joerg Reuter
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=383331
Michal Vyskocil
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
https://bugzilla.novell.com/show_bug.cgi?id=383331
User mvyskocil@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=383331#c3
Michal Vyskocil
participants (1)
-
bugzilla_noreply@novell.com