Skip to main content

Cant compile my midlet for sony emulators

2 replies [Last post]
68060
Offline
Joined: 2011-08-29

Ive tried a number of whats to compoile my lwuit app using the sony sdk in netbeans, ive tried using SE_IO and SE_UI too with no luck, some stack traces:

with se_ui.jar and se_io.jar

Error preverifying class com.sun.lwuit.awtport.AwtImpl$1
java/lang/NoClassDefFoundError: java/awt/event/WindowListener
E:\ALL_CODE\ALL_CODE_STUFF_2011\DevOfficerApp\MIDP\nbproject\build-impl.xml:484: Preverification failed with error code 1.

without se_io using normal io.ar

Error preverifying class com.sun.lwuit.io.Cookie
VERIFIER ERROR com/sun/lwuit/io/Cookie.<clinit>()V:
Illegal type in constant pool
E:\ALL_CODE\ALL_CODE_STUFF_2011\DevOfficerApp\MIDP\nbproject\build-impl.xml:484: Preverification failed with error code 1.

If i run on emu without either se io or ui it works but crashes when i try to get roots for saving to sd card.

Any help would be much appreciated!! Supposed to have thisworking on clients phone days ago!!

Gaz

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
vprise
Offline
Joined: 2003-11-07

SE = Java Standard Edition. This is used for desktops as indicated in the readme within that directory.

Sony Ericsson doesn't require any special jar and uses the standard MIDP Jar just like Nokia etc. This isn't related to the issue you are experiencing in the other thread.

68060
Offline
Joined: 2011-08-29

Doh, I been for so long using SE to mean Sony ericcson I got confused :-) youre right it works fine now on clients phone !