facebook

Problem exporting a JAR file

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #348934 Reply

    Alejandro Barrero
    Participant

    I am exporting a JAR file for a Swing application that uses the Java Excel API, but running the file gives the exception “java.lang.NoCalassDefFoundError : jxl/write/WritableCell”. The jar is in the class path and the program runs in MyEclipse.

    #348965 Reply

    Alejandro,

    You need to follow these steps to export as JAR file, right click on the java file > Select Export > Select Runnable JAR file under Java and click Next > Select the Launch configuration and the destination, make sure that the ‘Export required libraries into generated JAR’ is selected > Click Finish.

    If you are still seeing issue, please attach the java file (Swing application) that exhibits this issue to help us investigate further.

    Let us know how it works for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem exporting a JAR file

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