Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

"Project {0} has to have a jad file file if it exports a mildlet jar" error appears in BlackBerry Java Plug-in for Eclipse

by Administrator on ‎07-07-2010 02:52 PM - edited on ‎11-14-2011 09:45 AM by BlackBerry Development Advisor

Summary

 

This article applies to the following:

  • BlackBerry® Java® Plug-in for Eclipse® version 1.1.2
  • BlackBerry® Java® Plug-in for Eclipse® version 1.3.0

 

Description

 

Problem

 

The BlackBerry Java Plug-in for Eclipse reports the following error when building an application that contains a library Java® Archive (JAR) file.

 

Project {0} has to have a jad file file if it exports a mildlet jar 

 

Cause

 

The BlackBerry Java Plug-in for Eclipse identifies the library JAR file as a MIDlet application instead of a library JAR file.

 

Resolution

 

Upgrade to the BlackBerry Java Plug-in for Eclipse 1.5.0 or later.

 

Workaround

 

Remove the following line from the manifest file of the library JAR file:

 

MicroEdition-Profile- MIDP-2.0
Comments
by New Developer on ‎03-30-2011 11:28 AM

Had this using BlackBerry_JDE_PluginFull_1.3.0.201101051005-15.exe