LWUIT 1.5 for Mac OS Development - java-me

I want to make mobile application using Netbeans 7.0 on Mac OS, I'm using LWUIT 1.5 but the application is not working although it is working in another Windows computer but using
Wireless Toolkit 2.5.2, but now when I used Wireless Toolkit 3.0 for Netbeans 1.5 it does not work and I have the following error
* Error * A problem occured during deploying application from http://127.0.0.1:52182/HelloLWUIT.jad Reason: Installing suite from:
http://127.0.0.1:52182/HelloLWUIT.jad Corrupt JAR, error while
reading: HelloLWUITMidlet.class
/Users/Veripark/NetBeansProjects/HelloLWUIT/nbproject/build-impl.xml:915:
Execution failed with error code 1.
can anyone please tell me how to install Wireless Toolkit 2.5.2 on Mac OS
Thanks in Advance

Did you try to use CodenameOne? http://www.codenameone.com/
take a look on that, is compatible with LWUIT solutions.

I have discovered that if I create the project on Mac so I can't compile it or run it on windows, I just take the code and create new project in windows and the problem solved

Related

J2ME-based platform won't work on Netbeans 8 under macOS but works just fine on Windows

I am trying very hard to install this 3rd-party J2ME platform on Netbeans 8.2 on my Mac (running macOS Sierra), but it simply won't work. I have installed all the J2ME plug-ins on my Mac Netbeans app, and have tried to add this 3rd-party J2ME platform to Netbeans, but it does not recognize the folder I am selecting as a platform.
I was able to install the very same 3rd-party platform on Netbeans under a Windows 10 VM, but obviously it is a VM (Parallels) so it's really slow and sluggish, and just overall a worse experience than on native macOS.
Does anyone know how to properly install a 3rd-party platform to Netbeans on a Mac ? It would help me tremendously if I could work with this library under native macOS and not a VM.
The platform I am trying to install is the Java ETK for eWON products
Thanks
EDIT 1 I was told the emulator is an .exe file which explains the whole thing...
Turns out the emulator is an .exe file. That would explain a thing or two...

jmonkeyengine platform does not start/launch

I need help on this please..
I have installed JME sdk 3 in windows 7 professional 32 bit system
I have jdk also already installed.
When i try to start JME platform using the icon in start menu or the the jmonkeyplatform.exe file in program files/jmonkeyplatform/bin , it lauches the startup logo. It says reading,loading modules, turning on modules and then starting modules. But after that it suddenly disaperars. Nothing happens , no error msg.
I have nvidia graphics card in my system
What do I have to do? Please help. I also uninstalled and re-installed. Is it the problem with version of jme? Or some problem with with my graphics card setting?
Please guide..
Thanks in advance.
Finally its working now.
I uninstalled the jmonkey platform and downloaded another version from here
http://jmonkeyengine.org/downloads/ --->jMonkeyEngine 3 SDK – Windows (32-bit)
I installed it and it worked.
May be the earlier JME 3 was not suitable for my system.
Thanks anyway..
www.shankysportal.com

Mobile application not working properly

I did a mobile application on java using Netbeans IDE.
It's working fine when I run in my system.
Problem is when I try to install it in my mobile its getting error like application error.
Can anyone help me find what went wrong?
I am using Sony mobile and in that it's getting "Application Error" nothing more then that, and even I try to install in another mobiles also it's getting like "error". I can't find what type of error it is.
You have to first check that APIs which you used in your application is supported in your phone or not. If APIs are not supported by your phone then it give error at installation time. And yes also check that your phone supported MIDP and CLDC version.
Ok it is very silly problem. When you create Java ME Application with Netbeans, by default it uses MIDP 2.1 Version. and I am sure your device supports MIDP 2.0 ( happened with me few times ). Just change your MIDP Version from 2.1 to 2.0 in NetBeans and then create .Jar file and try again, it will surely work.

Building JavaFX 2.0 App on Mac, deploying on Windows

What are your strategies for building your JavaFX application on Mac and deploying on Windows ? I am currently having issues with how to bundle up my application so that it is double clickable on both platforms. I have tried using the ant-tools, but the jar file produced complain that JavaFX 2.1 needs to be installed on my Mac (how can I place the JavaFX 2.1 DP distribution so that the double-clickable Jar knows where to find it ?)
On the Windows side, Java7u3 is installed, which "comes with" Java FX 2.0.3. I need for the application to be able to execute as a double clickable JAR file here as well.
Any suggestions as to how this is set up ? I am using Maven to build my project. The more details you can provide the better.
Since 2.1 release the only (official) way to install JavaFX on Mac is cobundle installation with Java 7u4 (opposite to developers preview versions being published in zip archives).
If JavaFX on Mac was installed this way then jar with JavaFX can be run by double-click.
On Windows same jar by double-click will ask to install "JavaFX runtime" and will start if one is present already.
N.B.: in 2.2 release Mac/Linux would start to support jnlp (WebStart) run (already supported on Windows) which may suit you even better.

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