# Unable to build DeviceProfiler

**URL:** <https://techcommunity.softwareag.com/t/unable-to-build-deviceprofiler/100294>\
**Category:** Forum\
**Tags:** mobile\
**Created:** [January 20, 2012, 5:58pm UTC](https://techcommunity.softwareag.com/t/unable-to-build-deviceprofiler/100294 "2012-01-20T17:58:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Javier\_Gallego](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/javier_gallego/32/77_2.png) [@Javier\_Gallego](https://techcommunity.softwareag.com/u/Javier_Gallego)\
**Post date:** [January 20, 2012, 5:58pm UTC](https://techcommunity.softwareag.com/t/unable-to-build-deviceprofiler/100294/1 "2012-01-20T17:58:46Z")

</div>

Hi  
I tried building the sample DeviceProfiler, but it did not work.  
[javac] D:\SoftwareAG\ws82\mobile2\_DeviceProfiler\_\Builds\0.0.1\BBY\_RIM\_9700\_temp\_\_java\_edit\_\src\CanvasRIM.java:10: CanvasRIM is not abstract and does not override abstract method paint(javax.microedition.lcdui.Graphics) in javax.microedition.lcdui.Canvas  
[javac] public class CanvasRIM extends net.rim.device.API.lcdui.BlackBerryCanvas implements CanvasSplitter  
[javac] ^  
[javac] D:\SoftwareAG\ws82\mobile2\_DeviceProfiler\_\Builds\0.0.1\BBY\_RIM\_9700\_temp\_\_java\_edit\_\src\CanvasRIM.java:16: cannot find symbol  
[javac] symbol : method setCurrent(CanvasRIM)  
[javac] location: class mdesx.microedition.lcdui.Display  
[javac] MyApplication.display.setCurrent(this);

Have I chosen the right checkboxes?  
Many thanks  
Javier

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [January 20, 2012, 7:02pm UTC](https://techcommunity.softwareag.com/t/unable-to-build-deviceprofiler/100294/2 "2012-01-20T19:02:54Z")

</div>

Hi Javier,

You will probably need to select midlet debug or release if you choose rim blackberry canvas, I’d deselect vscl\_sound. If you want to produce  
a native blackberry build (rather than a J2ME → cod BlackBerry build) I suggest you disable the rim blackberry canvas and enable the MIDP2 one.

Cheers,  
Matt

---

<div class="post-metadata">

**Author:** ![Javier\_Gallego](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/javier_gallego/32/77_2.png) [@Javier\_Gallego](https://techcommunity.softwareag.com/u/Javier_Gallego)\
**Post date:** [January 20, 2012, 7:10pm UTC](https://techcommunity.softwareag.com/t/unable-to-build-deviceprofiler/100294/3 "2012-01-20T19:10:45Z")

</div>

Hi Matt,  
That did it. many thanks for the prompt answer  
Ciao  
Javi

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:01pm UTC](https://techcommunity.softwareag.com/t/unable-to-build-deviceprofiler/100294/4 "2021-04-02T15:01:50Z")

</div>


