Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Working Groups » Pulsar » J2ME x Java ME(Problem working to Midlets in Pulsar)
J2ME x Java ME [message #493330] Sat, 24 October 2009 21:50 Go to next message
Rodolfo  is currently offline Rodolfo
Messages: 4
Registered: October 2009
Junior Member
Hi,

I am new withPulsar. I've just started using it when latest Ericsson's SDS release started using Pulsar.

I am not able to run Midlets and I am confused with which ME to use: J2ME or Java ME

When I used SDS 4.1 FD1, in Window -> Preferences there was only the option J2ME, but in Pulsar there is two options: J2ME or Java ME

In Java ME configuration panel I am able to set the Device Management correctly to Java ME SDK 3.0, but in J2ME conf panel I am not able to setup device management.

When I try to import the devices from WTK root directory, it does not find any device!

If I try to run any one SDS IJCU sample with Emulated Java ME Midlet, it starts running, log nothing, and die.

If I try to run any one SDS IJCU sample with Emulated J2ME Midlet, it shows the message: "Device unspecified or unavailable". This message is ok because I really could not specify the device for J2ME.

Please, I would llike to know why Pulsar have two ways to work with Midlets and I also would like to know how to make Java ME devices work.

Where I can find logs?

Any help will be really appreciated!

Thanks in advance.

My best regards,
Rodolfo



Re: J2ME x Java ME [message #493375 is a reply to message #493330] Sun, 25 October 2009 13:59 Go to previous messageGo to next message
Rodolfo  is currently offline Rodolfo
Messages: 4
Registered: October 2009
Junior Member
This log is written in .metadata\.log file when I try to run the project with Emulated Java ME Midlet configuration:

------------------------------------------------------------ -

!ENTRY org.eclipse.ui.navigator 4 0 2009-10-24 20:23:01.187
!MESSAGE The default variable is not countable. Failed expression:
org.eclipse.core.internal.expressions.CountExpression@fc8b6752
!STACK 1
org.eclipse.core.runtime.CoreException: The default variable is not countable. Failed expression:
org.eclipse.core.internal.expressions.CountExpression@fc8b6752
at org.eclipse.core.internal.expressions.Expressions.getAsICoun table(Expressions.java:197)
at org.eclipse.core.internal.expressions.CountExpression.evalua te(CountExpression.java:102)
at org.eclipse.core.internal.expressions.CompositeExpression.ev aluateOr(CompositeExpression.java:68)
at org.eclipse.core.internal.expressions.OrExpression.evaluate( OrExpression.java:21)
at org.eclipse.core.internal.expressions.CompositeExpression.ev aluateAnd(CompositeExpression.java:53)
at org.eclipse.core.internal.expressions.EnablementExpression.e valuate(EnablementExpression.java:53)
at org.eclipse.ui.internal.navigator.wizards.CommonWizardDescri ptor.isEnabledFor(CommonWizardDescriptor.java:145)
at org.eclipse.ui.internal.navigator.wizards.CommonWizardDescri ptorManager.getEnabledCommonWizardDescriptors(CommonWizardDe scriptorManager.java:158)
at org.eclipse.ui.navigator.WizardActionGroup.setContext(Wizard ActionGroup.java:193)
at org.eclipse.ui.internal.navigator.resources.actions.NewActio nProvider.fillContextMenu(NewActionProvider.java:107)
at org.eclipse.ui.navigator.NavigatorActionService.addCommonAct ionProviderMenu(NavigatorActionService.java:220)
at org.eclipse.ui.navigator.NavigatorActionService.fillContextM enu(NavigatorActionService.java:174)
at org.eclipse.ui.navigator.CommonNavigatorManager.fillContextM enu(CommonNavigatorManager.java:277)
at org.eclipse.ui.navigator.CommonNavigatorManager$4.menuAboutT oShow(CommonNavigatorManager.java:292)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuMan ager.java:338)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuM anager.java:469)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.ja va:465)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager .java:491)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:235)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.jav a:4270)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3974 )
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:342)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.j ava:1578)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2010)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4589 )
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:254)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3906)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3467)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
!SUBENTRY 1 org.eclipse.core.expressions 4 3 2009-10-24 20:23:01.187
!MESSAGE The default variable is not countable. Failed expression:
org.eclipse.core.internal.expressions.CountExpression@fc8b6752
Re: J2ME x Java ME [message #495329 is a reply to message #493330] Wed, 04 November 2009 15:29 Go to previous messageGo to next message
sds support is currently offline sds support
Messages: 2
Registered: November 2009
Junior Member
Hello,

Java ME was formerly called J2ME.

If you want to run IJCU samples on Pulsa, you need to download the latest version of SDS, SDS4.1 IJCU, where all the IJCU samples have been updated to use MTJ instead of EclipseME.

WIth the new samples, you won't have problems importing the WTK. You just need to set the Device Configuration in the Java ME.

Regards
SDS Support.
Re: J2ME x Java ME [message #528851 is a reply to message #495329] Thu, 22 April 2010 07:20 Go to previous message
Werner Keil is currently offline Werner Keil
Messages: 1083
Registered: July 2009
Senior Member
Hi,

Thanks for the update. I'm just writing about Pulsar and new mobile trends
at Eclipse, so this seems like good information for our readers.

What about Android? Sony-Ericsson has just released the brand new X10 based
on Android 2.1.
Are there plans to finally get some Android support into Pulsar, or does S-E
at least offer something Android specific themselves?

Thanks,
Werner
Re: J2ME x Java ME [message #574721 is a reply to message #495329] Thu, 22 April 2010 07:20 Go to previous message
Werner Keil is currently offline Werner Keil
Messages: 1083
Registered: July 2009
Senior Member
Hi,

Thanks for the update. I'm just writing about Pulsar and new mobile trends
at Eclipse, so this seems like good information for our readers.

What about Android? Sony-Ericsson has just released the brand new X10 based
on Android 2.1.
Are there plans to finally get some Android support into Pulsar, or does S-E
at least offer something Android specific themselves?

Thanks,
Werner
Previous Topic:javax.microedition.pim.ContactList.read lack
Next Topic:why this jar created by pulsar is invalid on my nokia 5800
Goto Forum:
  


Current Time: Mon Sep 22 12:22:09 GMT 2014

Powered by FUDForum. Page generated in 0.03509 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software