Environment variable configuration during NetBeans Development

Source: Internet
Author: User
Tags netbeans

Are you familiar with environment variable configurations used when developing j2s in NetBeans? I would like to share with you that JBuilber has been used for J2EE development in the past. In the past, due to the primary ROR project, netBeans is mainly used, because some simple j2mini tools were previously made in JBuilder.

Environment variable configuration used when developing j2s in NetBeans

JBuilber has been used for J2EE development in the past. It has been mainly used for ROR projects and NetBeans for the past year. I used to make some simple j2mini tools in JBuilder. A few days ago, I tried to put them in the NetBeans IDE for compilation and debugging. There was no problem in compilation, but when running the project, I can't figure out the simulator that should come out of my imagination. I don't know why, because I use the official complete installation package.

Check Tools-> Java Platforms, with j2-> Sun Java (TM) Wireless Toolkit 2.5.2 for CLDC. If you think there is a problem with the configuration of NetBeans j2s, you want to reconfigure it, therefore, Add Platform-> Java ME Platform Emulator and find that only J2MEWTK under the original JBuilder directory is found. I don't think it is correct. WTK under the Netbeans directory cannot be specified.

Strange, So I installed a pure XP on the virtual machine, and then installed Netbeans to run the j2_program. It is even more determined that there is a problem with the environment variable configuration, which should be in conflict with the installed j2-wtk. Therefore, Sun Java (TM) Wireless Toolkit 2.5.2 for CLDC-> Refresh cannot be used successfully. After finding a lot of information on the Internet, we found that setting variable configurations
J2ME_HOME = C: \ Program Files \ NetBeans 6.0 \ equality8 \ WTK2.5.2

Restart NetBeans, and Sun Java (TM) Wireless Toolkit 2.5.2 for CLDC-> Refresh. You can run the agent program on the simulator.


 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.