eclipse and Java ME, "you must add at least one configuration" - java-me

I need to make an app for my cheap phone, and I downloaded eclipse, java sdk, and java me sdk for it. I can't create a simple Java ME project, because when I click File->New->Java ME Project and type name, it says
you must add at least one configuration
Tutorial like this http://www.wideskills.com/j2me/configure-java-me-in-eclipse says to go to Window->Preferences->Java ME->Device Management->Manual Install and provide the path to the Java ME sdk, C:\Program Files\Java_ME_platform_SDK_8.3 in my case. Except it finds nothing for me.

Try to install the Sun Java Wireless Toolkit and give its path to download! It worked for me. Or add the MTJ (Mobile Tools for Java) plugin and we will have an environment ready to create Java ME applications.
To do this, go to the menu Help > Install new software and add the URL: http://download.eclipse.org/mtj/updates/1.1.2/stable

Related

Can't install Azure SDK 2.7.1

When I try to install the Azure SDK 2.7.1, it says the the web development feature must be turned on. Does anyone know where it is or how it can be turned on. The dialog said use VS2015 help, but there is no reference for it.
Thanks up front ....
It's likely that you unselected the Web development tools when you installed VS. Changing this is easy: in Control Panel, launch the VS installer from Programs and Features (it might say uninstall but that just fine). You'll be able to select the Web development components.

How do I determine which eclipse sdk is being used?

I have multiple eclipse SDKs installed on my linux notebook. They are in different directories and I do not remember which is the last one I installed. The command 'which eclipse' gets me /usr/bin/eclipse. /usr/bin/eclipse is a shell script that (among other things) sets ECLIPSE=/usr/lib/eclipse/eclipse. /usr/lib/eclipse/eclipse is a real executable (not a link) that was copied in from elsewhere.
The command 'eclipse' brings up a functioning eclipse. My question is: If I want to expand the capabilities of this eclipse, which SDK do I need to make changes to - ie which SDK do I insert add-ons? That is, given an executing eclipse, how do I find the sdk?
On the Help > About Eclipse dialog click Installation Details for lots of details about the installation. The Configuration tab contains the paths of what is being used.
Adding to Eclipse is generally done using Help > Install New Software and you don't normally need to know where the Eclipse install is for this!

How to make installer using installshield

I developed windows service in visual c++ using VS2012. Usually I install it using sc create .... command for testing purpose. Now i want to create installer for my service using install shield limited. How can I do that? can anyone show me the steps to do that.
Thanks,
Khurram.
I guess your best bet is try to look up some InstallShield IDE tutorials as the installation package is created in a standalone IDE, but from my experience with InstallShield, Nullsoft and others I would recommend you take a look at WIX (http://wixtoolset.org/), it integrates with Visual Studio, creates a fully functioning MSI package and it is easy to do things like installing a service - take a look at an example here: How to install and start a Windows Service using WiX.

How to embebed javafx 2.1 in an installation package

I need to distribute a javafx 2.1 application but the client doesn't want to be asked if he wants to install javafx 2.1. It should be automatically installed. Does someone know how to wrap it in a dmg and in an exe package??
Thank you very much in advance.
There is a tutorial here: http://fxexperience.com/2012/03/packaging-javafx-applications-as-native/
and there (although for 2.2): https://blogs.oracle.com/talkingjavadeployment/entry/native_packaging_for_javafx
Finally I got it !!!!
I'm going to explain how I got it from my perspective. Sorry if it sounds a little bit dummy but I'm not used to build desktop applications and with a new technology as javafx is even more difficult for me.
Download the latest version of the jdk (in this case the 7.0 one).
Follow the steps from the tutorial and include your .jar and the jfxrt.jar
As a main class I set com.javafx.main.Main
Create the application and now, the most important part:
Once the application has been created, open it (right click on the app and "show package content". Go to the folder: Content/Resources/Java.
Do the same operation with the vm: go to /Java/JavaVirtualMachines and right click on the 1.7.0.jdk to open the Contents folder.
Copy ALL the .jar and .dylib from the jdk to the java resources in your application
Run the application and it will work :)

Problems creating a Java Mobile Application project

I have installed the Netbeans 6.7 IDE with Java ME included, but cannot create a Mobile Application project from the Java ME category. When I select the project type the wizard stops at "Finding Feature" with the message:
Not all requested modules can be enabled:
[StandardModule:org.netbeans.modules.mobility.end2end.kig jarFile:C:\Program Files\NetBeans 6.7\mobility8\modules\org-netbeans-modules-mobility-end2end-kit.jar.
I am attempting to run this on Vista Home Premium. I have tried to run the IDE as Administrator with no luck.
I am at a loss for where to go next as I cannot seem to find any information regarding this issue. Even if you don't have the solution any insight into this error message would be helpful.
I am unable so far to get the project running via the Netbeans IDE install. I have, for the time being, installed the Java ME SDK which includes a very stripped down version of the Netbeans IDE for mobile development.
I originally had some issues starting the SDK as well on Vista. The IDE reported that it could not connect to the device manager on localhost. After some searching I found this link: Java ME SDK Startup Problem which suggests changing the hosts file localhost entry from IPv6 to IPv4. The fix worked perfectly and I can now compile and run code in the emulator.
This is not an optimal solution as the SDK does not include the visual design tools, however I am able to get a basic project going in the mean time.
I have given up on the 6.7 version and have instead located and installed 6.5.1. This previous version has been working just fine and seems to do everything I need.
I ran into the exact same error today while installing NB 6.8 beta. To resolve it we need to install two plugins:
Java Web Applications (as mentioned by Ali above) and
Sun Java System Web Server 7.0
Note that these two are part of the Category called "Java Web and EE" hence the confusion that we need to install Glassfish App Server. But we need these two plugins because they are required for debugging using breakpoints in emulator. Netbeans runs a web server when we do breakpoint based debugging.
Also note that the Java Web applications needs SOAP Web Services and JavaScript Debugger plugins to run and so these plugins are also installed when you try to install it.
You also need to install "Java Web Applications" plugin.
Tools->Plugins->Available Plugins
If the module is present, you should try unzipping it to check its content makes sense.
You should also be able to rebuild it from Netbeans sources.
You can also try to figure out why this happens by debugging the module loader inside Netbeans from its sources, using another IDE, presumably the latest version of Netbeans you can find without the issue.
If the module is missing, you might want to get the missing jar file from an installation of a previous version of Netbeans, see if it is compatible.
6.5.1 isn't missing any module.
back in version 5.5, the mobility module had to be downloaded and installed separately from the main IDE.
If you want to consider using Eclipse for developing your J2ME app...I've written a post related to that some time ago: here.

Resources