facebook

Bad Class File with 3.8.4 Beta 1 and JDK 5.0 [Closed]

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #227392 Reply

    Paul Baker
    Member

    I have just downloaded the lastest version of Eclipse 3.1M4 and MyEclipse 3.8.4 Beta 1.

    When the JDK complience is set at 1.4 my app compiles clean, no problems. With complience set at 5.0 I receive errors on my JSPs where I am using custom JSF components. For example for the lines below I receive an error on the <dygtig: … line. The error is:

    cannot access com.dygtig.components.tablescroller.TableScrollerTag: bad class file: C:\J2EE\LiftOff.ejb3\WebRoot\WEB-INF\classes\com\dygtig\components\tablescroller\TableScrollerTag.class

    ...
    </h:dataTable>
    <dygtig:tablescroller tables="ChartTable" />   <<--- problem
    <f:verbatim><br></f:verbatim>
    ...

    Any ideas. Thanks in advance.. Paul

    #227439 Reply

    Riyad Kalla
    Member

    JSP files are compiled with the “javac.exe” compiler found in your System path, so if you have JDK 1.4 in your path and it is tryign to compile your JDK 5.0 custom classes with it, that may be the problem.

    #227470 Reply

    Paul Baker
    Member

    Yes, that was exactly it… I had forgotten that the JDK needed to be in the path var. I replaced the current JDK with 5.0 and all works fine.

    THANK-YOU!!

    Paul

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Bad Class File with 3.8.4 Beta 1 and JDK 5.0 [Closed]

You must be logged in to post in the forum log in