Error: Platform home (platform.home property) is not set
I am new to Java and also to lwuit.
I downloaded NetBeans IDE 7.0.1 and then lwuit resource editor 1.5 build 1587. I designed the interface in resource editor and generate NetBeans project but when i want to run the project (desktop, MIDP or RIM) i get this error:
Platform home (platform.home property) is not set. Value of this property should be Sun Java(TM) Wireless Toolkit 2.5.2 for CLDC emulator home directory location.
I downloaded and installed Wireless Toolkit 2.5.2 but it did not solve the problem. I also set an emulator for the project but steel i get that error.