-
1. Re: Lanunching JBoss from JBoss IDE to enable remote debuggi
scawa Sep 23, 2004 2:15 PM (in response to abhay_c)I am also having a similar problem with JBoss through the IDE.
When I launch JBoss from within Eclipse/JBoss IDE; and then try to access a JSP, I get the Jasper Exception
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
I get the Tomcat Connectors working, but don't get the JSP's to compile.
I have set JAVA_HOME in my enviornment variables. If I use the run.bat file, everythings works fine for launching, but I can't use the IDE for debugging. If I launch through Eclipse, the files won't compile.
Please help....
Thank you VERY much -
2. Re: Lanunching JBoss from JBoss IDE to enable remote debuggi
scawa Sep 23, 2004 2:38 PM (in response to abhay_c)Oh Bye the Way.... I can connect and get JBoss working through the MyEclipseIDE JBoss connection.
Stephen McConnell -
3. Re: Lanunching JBoss from JBoss IDE to enable remote debuggi
muf Apr 7, 2006 5:06 PM (in response to abhay_c)just found this thread, which was very useful to me. thanks
-
4. Re: Lanunching JBoss from JBoss IDE to enable remote debuggi
smunsat May 30, 2006 2:05 PM (in response to abhay_c)When you get the Jasper Exception:
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
One possible cause is that tools.jar is not part of the classpath. Eclipse does not include tools.jar by default as part of the runtime classpath, but the JBoss server expects it to be there.
To fix this:
Go to Preferences -> Installed JREs
Edit the JRE that you are using for JBoss
Make sure that tools.jar is here, if not add it.
-Steve