In my BlackBerry app I have three projects; MainProj, OwnersAppComm, JSON-ME whose build paths are configured as follows.
MainProj
Java Build Path
- Projects - OwnersAppComm
- Libraries - None
- Order and Export - MainProj/src (exported)
- MainProj/res (exported)
- OwnersAppComm (not exported)
- BB JRE 4.5.0 (not exported)
OwnersAppComm
Java Build Path
- Projects - JSON-ME
- Libraries - None
- Order and Export - OwnersAppComm/src (exported)
- JSON-ME/src (exported)
- BB JRE 4.5.0 (not exported)
JSON-ME
Java Build Path
- Projects - None
- Libraries - BB JRE 4.5.0
- Order and Export - JSON-ME/src (exported)
- BB JRE 4.5.0 (not exported)
When I run this project I get this error: Error starting MainProj: Module "JSON$2dME" not found, in simulators running JREs > 4.5. In the 8300 simulator running JRE 4.5 I do not get this error.
I have tried making JAR out of each of the sub-projects but I get the same error.
Another question here describes a similar kind of problem with the BlackBerry plug-in for Eclipse, but with no solution.
Does anyone know how to properly include these two sub-projects so that there is no error in JREs higher than 4.5?
Thank you and regards,
Paul