- This topic has 7 replies, 2 voices, and was last updated 19 years, 6 months ago by veenmudi.
-
AuthorPosts
-
veenmudiMemberHello,
I am using MyEclipse for the first time and I feel like I am missing a step, but can’t figure out what it is. I have installed:
– JDK 1.5.0_03, Eclipse 3.1M7, MyEclipse 3.8.4M7 Beta, JBoss 4.0.2I have followed the manual Install steps for MyEclipse and everything seems to have installed correctly, I could start and stop the JBoss server successfully. I followed the instructions to create a web project from:
http://myeclipseide.com/enterpriseworkbench/help/index.jsp?topic=/com.genuitec.myeclipse.doc/html/quickstarts/webprojects/index.htmlI can deploy the web project and view it in IE. If I introduce an error in the jsp file like “<% out.println(“Hello World”) %>”, the right-hand side annotation column shows an error but the JSP Validation doesn’t show an error in the problems tab.
The strange part is that even if I run manual JSP validation, I get “The JSP page is valid”. What am I missing?
1. I made sure that eclipse is using JDK1.5.0 (and not JRE). JRE_LIB=C:\Java\jdk\jre\lib\rt.jar
2. I set the JDK Compliance to 5.0 in eclipse.
3. As an extreme measure, I changed all the Errors/Warnings options in eclipse to error, but I still didn’t get invalid JSP.Thank you
Praveen
Riyad KallaMemberPraveen,
You need to have the “javac” executable from your JDK available in your System PATH environment variable, so you would want it to look like:
PATH=C:\Java\jdk\bin;<REST OF PATH>
veenmudiMemberRiyad,
Thank you for the reply. I have the following env variables already set:
classpath=.;C:\Java\jdk\lib\tools.jar;C:\Java\jdk\lib\dt.jar;C:\hsqldb\lib\hsqldb.jar
path=C:\Java\jdk\bin;C:\Downloads\Subversion\svn-win32-1.1.4\bin;….I restarted the machine just now to make sure that I didn’t forget it before. That didn’t help. Now it has actually gotten worse. Now when I make the JSP invalid, the right-hand side annotation error mark is also not showing up. I am just going crazy as I can’t tell what I am missing. Should I have the tools.jar and dt.jar in the classpath inside eclipse somehow?
One important info: My machine is built on AMD Sempron processor. Is this the problem? Honestly, everything else is working so far except validation.
Thanks
Praveen
Riyad KallaMemberDamn, Praveen I missed that you were running Eclipse M7 and our beta, this is a *known* bug in that release, we will get it fixed in our next release. Sorry for missing that.
veenmudiMemberRiyad, Thank you for giving this a direction. I was doing stupid search for validation, I was only searching under Web Development Forum, and didn’t find any related bugs. Now that I did search on validation on ‘all’ forums and sure enough I find a related topic as the first search item (a lesson learned for me).
Any recommendations on what versions should I revert to. Is Eclipse 3.1M6 + ME 3.8.4 M6 Beta okay? Or do you suggest that I use Eclipse 3.0.2 + ME 3.8.4?
Thanks again
Praveen
veenmudiMemberRiyad, Thank you for giving this a direction. I was doing stupid search for validation, I was only searching under Web Development Forum, and didn’t find any related bugs. Now that I did search on validation on ‘all’ forums and sure enough I find a related topic as the first search item (a lesson learned for me).
Any recommendations on what versions should I revert to. Is Eclipse 3.1M6 + ME 3.8.4 M6 Beta okay? Or do you suggest that I use Eclipse 3.0.2 + ME 3.8.4?
Thanks again
Praveen
Riyad KallaMemberAny recommendations on what versions should I revert to. Is Eclipse 3.1M6 + ME 3.8.4 M6 Beta okay? Or do you suggest that I use Eclipse 3.0.2 + ME 3.8.4?
We always suggest stable releases for most bug-free experience, we only provide the Betas because our users demanded it 🙂
veenmudiMemberUnderstood. Thank you so much for your very quick help.
_Praveen -
AuthorPosts