Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Setting up your Dev environment under Windows 7 or earlier

by Developer on ‎04-04-2013 02:36 PM (3,249 Views)


The provided install instructions don't work for you.


You get many compile errors about missing DLLs.


Please note that the following procedure does NOT work for Windows® 8 at the time of writing.


JAVA doesn't know where it lives or where it needs to get its DLLs. This process tells the command prompt where JAVA lives.




I'm going to assume that you've followed the general guidelines regarding Adobe® AIR® etc.


Grab the Java® SDK and install it, take a note of the install path, it's important later.


Make sure you get the Java SDK rather than the JRE™ and make sure it's the 32 bit (x86) version, this is obvious to some of us but can be confusing for the first-timer.


Now ... Follow these steps exactly as laid out.



  1. Open Windows® Explorer (NOT Internet Explorer®).
  2. Right Click on My Computer.
  3. Click on Advanced System Settings.
  4. Click the Environment Variables button @ bottom.
  5. In the lower window (System Variables) scroll down to Path then double click it.
    You can now edit the system path. In my case I added...

    ;C:\Program Files (x86)\Java\jdk1.7.0_09\bin

    • You will definitely need to change the path - specifically the jdk1.7.0_09 bit to match the version you're running.
    • You have to keep the path correct as new versions of Java turn up
    • Note the semi-colon at the start of that line, it's very important.

6.  OK everything. A reboot is always a good idea when you do this kinda thing.




This procedure simply makes JAVA work properly for everything as now JAVA knows where it lives.




Most of the text in this piece comes from a Forum post I wrote that proved to be exactly what the guy needed.

I've KB'd it so that when other people have a similar problem the solution is at hand.

Users Online
Currently online: 34 members 5,144 guests
Please welcome our newest community members: