Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the configuration of environment variables when NetBeans develops J2ME?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

What is the configuration of environment variables when NetBeans develops J2ME? in order to solve this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

Are you familiar with the configuration of environment variables that NetBeans uses when developing J2ME? here to share with you, JBuilber has been used for J2EE development in the past, but in the last year, because it is mainly used for ROR projects, it mainly uses NetBeans, because it used to do some simple J2ME gadgets in JBuilder.

The configuration of environment variables to be used by NetBeans when developing J2ME

In the past, I have been using JBuilber for J2EE development, but in the last year, because I am mainly working on ROR projects, I mainly use NetBeans. Because the previous JBuilder made some simple J2ME gadget software, a few days ago, on a whim, want to put them in NetBeans IDE compilation, debugging, compilation is no problem, but running the project, always can not come out of the imagination of the simulator, I do not know why, ah, because I am using the official complete installation package.

Check Tools-> Java Platforms, there is J2ME-> Sun Java (TM) Wireless Toolkit 2.5.2 for CLDC, think there is a problem with NetBeans J2ME configuration, so you want to reconfigure, so Add Platform-> Java ME Platform Emulator, found that only found the original JBuilder directory under the J2MEWTK, feel wrong, ah, specify the WTK under the Netbeans directory is not allowed.

Strange, so in the virtual machine installed a pure XP, and then install Netbeans, you can run J2ME programs. It is more adamant that there is a problem with the configuration of the environment variables, which should conflict with the installed J2ME WTK. So choose Sun Java (TM) Wireless Toolkit 2.5.2 for CLDC-> Refresh, which is not successful. After finding a lot of information on the Internet, I found that setting variable configuration

J2ME_HOME = C:\ Program Files\ NetBeans 6.0\ mobility8\ WTK2.5.2

Restart NetBeans, also Sun Java (TM) Wireless Toolkit 2.5.2 for CLDC-> Refresh, successful. Running the J2ME program also comes out of the simulator.

This is the answer to the question about the configuration of environment variables when NetBeans develops J2ME. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report