WineHQ

Samsung SDK for the Java(TM) ME Platform

Version 1.2.2 (Feb 15, 2011 11:30 AM)
Developer Edition
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

For more information on Java Micro Edition (Java ME) Platform, visit http://java.sun.com/javame.



Please include the Java version you used on "Additional Comments" when submitting test reports

Application Details:

Version: 1.2.2
License: Free to use
URL: https://www.softpedia.com/get/...
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 9.10

Maintainers: About Maintainership

Free Download Non-official download page on Softpedia. Official webpage was removed

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

  • KToolbar
  • Utilities
  • Preferences
  • Emulator
  • Compilation
  • OTA

What does not

  • Multimedia (zayit.exe)
  • Black window
  • KToolbar takes so much to launch - be patience. This doesn't occur on Windows
  • Momentary java.exe crashes
  • Emulator from IDE (Workarounds by using manual run configuration)


Emulation does work, but only if played directly from KToolbar or using manual run configurations on your IDE. Making some shell scripts to redirect commands to Wine and trying to use it on IDEs like Eclipse will not work: The emulator does run, but it returns ClassCastException when trying to run another MIDlet.

Workarounds

Black window
Make sure you have 32-Bit JDK 8u5 installed
https://www.oracle.com/java/te...
If you already installed JDK 8u5, type in your terminal:

winetricks d9kv

If the windows are still black at initialization, create a wineprefix and run the application using OpenGL renderer

The window will still glitch out and become black sometimes as a minor bug, however, you'll now be able to start the software and see its contents
Avoid resizing the window, this is what most makes this issue to occur and crashes the application sometimes

Multimedia
Make sure you have Quicktime 7 installed: https://support.apple.com/kb/D...
Now, if zayit.exe crashes when the emulator tries to play any multimedia, type in the terminal:

winetricks gmdls


Emulation from IDE

You can't directly run it from your IDE the way you would normally do on Windows, you must make a manual run configuration to be able to run your project on your IDE
It was tested on Eclipse IDE by using EclipseME plugin, your IDE must build a .jar and .jad file every compile. The following tutorial is for Eclipse IDE and may be different to other IDEs such as Netbeans
Wireless Toolkit (the software Samsung SDK was based on) has a set of commands to open any .jad file on a emulator, to open a .jad file directly from terminal, you can use:

env WINEPREFIX=/location/to/Samsung/SDK/Wineprefix wine /location_to_samsung_sdk/bin/emulator.exe -Xdescriptor:"/location/to/JAD/file" -Xdevice:DEVICE

DEVICE may be any device listed by Samsung SDK, you can use this command to get a list of devices

env WINEPREFIX=/location/to/Samsung/SDK/Wineprefix wine "/location/to/Samsung_SDK_122/bin/DefaultDevicew.exe"


Now you can set this command for your IDE configuration. Manual run configurations are made on External Tools Configurations, EclipseME usually build the JAR and JAD files at .mtj.tmp/emulation/ directory. I recommend that you create a shell file to open wine in a wineprefix, locate it into "Location"

#!/bin/bash
env WINEPREFIX="/location/to/your/wineprefix" wine "$@"

On "Arguments", insert the following command. Assuming your Samsung SDK was installed on C:/Program Files (x86)/Samsung_SDK_122 and your JAD file has the same name your project uses. I'll use GT-S5230N as a example, but you can use whatever you would like to.


"c:/Program Files (x86)/Samsung_SDK_122/bin/emulator.exe" -Xdescriptor:"${project_loc}/.mtj.tmp/emulation/${project_name}.jad" -Xdevice:GT-S5230N

What was not tested

  • Build
  • Sign

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: open source

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
ShowopenSUSE Tumbleweed-SlowrollJul 03 20249.10Yes Yes YesGoldJosesk Volpe 
ShowopenSUSE Tumbleweed-SlowrollJul 03 20249.10Yes Yes NoBronzeJosesk Volpe 
ShowopenSUSE Tumbleweed-SlowrollJul 03 20249.10Yes Yes NoBronzeJosesk Volpe 
ShowArch Linux x86_64Jul 03 20249.8Yes Yes YesGoldJosesk Volpe 
ShowManjaro LinuxDec 26 20217.0-rc1Yes Yes YesSilverJosesk Volpe 

Known Bugs

Bug # Description Status Resolution Other apps affected
51615 Samsung SDK 1.2.2 for Java ME: Emulator crashes when playing multimedia (needs gm.dls) REOPENED View

Show all bugs

HowTo / Notes

Other softwares required

To run this software, other softwares are required to be installed before it is installed. These are also required in Windows.

You need:

Emulation from IDE

For old instructions: https://gist.github.com/Josesk...

To use this tool with native IDEs (e.g. Netbeans 8.2 or Eclipse) you'll need to use special configuration, there's already hacks to use it.

Follow instructions on this repository: https://codeberg.org/JoseskVol...

ISSUE: Emulator wont run or utilities and preferences crashes

If terminal outputs this error:

002c:err:winediag:getaddrinfo Failed to resolve your host name IP

Hosts is misconfigured. In Unix-like systems, edit /etc/hosts


127.0.0.1 HOSTNAME.localdomain HOSTNAME


Where HOSTNAME is your current hostname (run "hostname" on terminal)


More info: https://forum.winehq.org/viewt...

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

PlayOnLinux4 script
by Josesk Volpe on Monday July 8th 2024, 15:17
I guess POL will take awhile to approve. Here's a script to install it from PlayOnLinux 4

pastebin.com/BhFeQS0B
Back