×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Best Java Me development tool for Nokia E71

    Hi There !

    Simple question :

    What is the best development tool
    for java me (j2me) for the device (e71)
    at present time, for the E71, that is S60 3rd Ed. Fp1
    device.

    Is Eclipse the best tool for E71, or is Carbide.j
    still alive.

    There are so many development tools at the
    present time, that the situation is not very
    clear for me.

    AFTERWARDS OF MY INSTALLATION JOURNEY :

    This Java ME installation story is written for them, who has just pure
    Windows Vista installed on, and who wants to install Java ME environment
    on it's machine.

    We do not have any Java or C++ installations before installed on our PC,
    but we want and we are wiling starting to downloading and
    intalling Java ME environment tools- for development, debuggin and ODD purposes
    of Java Midlets.

    We just have the real device on our hands and we willing to start to develope Java ME
    applications on real device with Windows Vista. This story concerns about Nokia E71, S60 3rd ed. fp 1 real
    phone.

    Just start to read this messy infomation written on, but i think,
    that you have all the information on this page, before you are starting
    to get towards the Midlet development with Nokia emulators and with
    your just installed, pure Windows Vista.
    Last edited by teknikko; 2010-07-10 at 20:58. Reason: Afterwards of insallling :

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,556

    Re: Best Java Me development tool for Nokia E71

    http://www.forum.nokia.com/Develop/J...tting_started/ says "Nokia builds its Java tools to work with NetBeans Java and Eclipse Pulsar. "

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Best Java Me development tool for Nokia E71

    I installed Eclipse Pulsar and S60 3rd Ed. Fp1 SDK.
    I created the new MIDlet Project and from Configurations area, there is S60Device active.
    I wrote the application and built it with 0 errors.
    But when i run application as emulated Java ME Midlet( i choose from Eclipse UI : Run >
    Debug As > 1 Emulated Java ME MIDlet) i got the following error message :


    Jar file could not be initialized.
    Caught exception :
    java.util.zip.ZipException: invalid entry compressed size (expected 3173 but got 3181 bytes)
    at java.util.zip.ZipOutputStream.closeEntry(Unknown Source)
    at java.util.zip.ZipOutputStream.finish(Unknown SOurce)
    at java.util.zip.DeflaterOutputStream.close(Unknown Source)
    at java.util.zip.ZipOutputStream.close(Unknown Source)
    at.com.symbian.io.JARFile.jarClassPath(JarFile.java:225)
    at.com.symbian.io.JARFile.<init>(JARFile.java.111)
    at.com.symbian.tools.j2me.sei.emulator.ElumatorLauncher.initializeJar(EmulatorLauncher.java:479)
    at.com.symbian.tools.j2me.sei.emulator.ElumatorLauncher.launch(EmulatorLauncher.java:285)
    at.com.symbian.tools.j2me.sei.emulator.Main.main(Main.java:49)

    I tried manualla to start emulator from C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\emulator.exe,
    but it didn't started.

    I have JAVA_HOME environment variable as has to be, but classpath is missing.
    So is the problem with classpath because emulator is not launching.

    Installing order was Eclipse Pulsar and then S60 3rd Ed. FP1.

    So, what to do with the problem?

  4. #4
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Best Java Me development tool for Nokia E71

    Try to Uninstall the Nokia SDK and JDE,
    restart the computer -
    reinstall JDK then Nokia SDK.
    Thanks,
    Ekta

  5. #5
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Best Java Me development tool for Nokia E71

    Quote Originally Posted by ektasrv View Post
    Try to Uninstall the Nokia SDK and JDE,
    restart the computer -
    reinstall JDK then Nokia SDK.
    Unistalling IDE (Eclipse Pulsar) is not a must, because you have to only unzip it from the zip file - any setup.exe is not needed.
    Do not unzip zip packages with Windows default zipping tool. Use for example 7-zip tool.
    You can delete the workspace too, and then you have to update the working evnironment from the Eclipse UI (debugger environmet).

    But unsitalling S60_3rd_MIDP_SDK_FP1 was a terrible mistake. Because uninstallation program did not
    cleaned the sdk directory well. Next installation went to S60_3rd_MIDP_SDK_FP1_1 and after new installation
    of sdk, i was not to able to find devices any more with Eclipse Pulsar. I changed the directory name from
    S60_3rd_MIDP_SDK_FP1_1 back to S60_3rd_MIDP_SDK_FP1. Now Eclipse pulsar found the devices
    But epoc.exe was still not working.

    I think that the biggest problem between Eclipse Pulsar (Version: Helios Release Build id: 20100617-1415)
    and S60 3rd fp1 midp sdk is, that E-P needs at least jdk 1.5 and jdk 1.5 for sdk is too late version ?

    And the whole installation story ended so, that i was not able to uninstall midp sdk. Midp SDK was on the
    list of Data Execution Prevention and so and so.....

    Short list for my self, to remind how things sometimes are :

    When you install old sdk (Vista was not born when sdk was developed)
    1
    turn off firewalls and antivirus.
    2
    turn off RealTek High Definition Audio Drivers
    3
    turn off UAC
    4
    Use if necessary :
    bcdedit.exe /set {current} nx AlwaysOff
    bcdedit.exe /set {current} nx AlwaysON
    wmic OS Get DataExecutionPrevention_SupportPolicy
    5
    Emulator has to be registered
    6
    Be shure you have : JAVA_HOME and JDK_HOME
    7
    Check that file C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\tools\ecmt\config
    config.properties knows your java jdk version as :
    epdt.java.version.start=1.4.1,1.4.2,1.5,5.0,1.6,6.0

    8
    Before installing any Java Me tools,
    Path environment variable must point to :
    java.exe
    javac.exe
    javaw.exe

    9
    IMPORTANT :
    Begin
    Turn off with Device Manager (bluetooth installed) ALL AUDIO DRIVERS
    (Under the loudspeaker icon )
    : Bluetooth Hands-free Audio
    : Bluetooth Stereo Audio
    : ********* High Definition Audio Device ***********
    End


    and test from command line, that these apps are responsible
    (wake javaw as : javaw ?)

    Remember these error messages :
    - epoc.exe has stopped working
    - setup.exe has stopped workin
    - Symbian SDK error Jar file could no be initialized
    - Cannot start Ecmt Manager
    -
    # CLDC HotSpot VM Error, assertion failure
    #
    # Error ID: OopDesc.cpp, 96
    #
    # assert(this != 0, "NULL oopdesc *")
    #

    Now, where to get Java ME IDE, that is capable to handle S60 3rd Fp1 sdk to compile midlets for MIDP 2.0 & CLDC 1.1 device.

    Is it possible to compile 3rd ed. fp2 sdk (MIDP 2.1 CLDC 1.1) for 3rd ed. fp1 (MIDP 2.0 CLDC 1.1) device, if i only use
    MIDP 2.0 and CLDC 1.1 options from the compiling environment?
    Last edited by teknikko; 2010-07-02 at 02:27.

  6. #6
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Best Java Me development tool for Nokia E71

    Instalaltion story is still going on (part 1)

    INSTALLING_JAVA_ME_APPLICATIONS.txt

    (Event Viewerissa tallainen ilmoitus (voi aiheuttaa hankaluuksia :
    The IP address lease 192.168.1.33 for the Network Card with network address xxxxxxxxxxxxxxxxxxx has been denied by the DHCP server 192.168.1.1 (The DHCP Server sent a DHCPNACK message).
    )

    Eclipse Pulsarin vaatimuksia :

    Zip paketin readme kansiosta :
    Eclipse Project Release Notes
    Release 3.6.0
    Last revised June 2, 2010

    Vistalle :
    Sun Java 5 Update 22


    Debug Known issues :
    Breakpoints unreliable running Sun 1.6.0_14

    Specifying the Java virtual machine

    /////////////////////////// HOW TO START ECLIPSE USING CERTAIN JAVA VM
    Here is a typical Eclipse command line:

    eclipse -vm c:\jdk1.4.2\jre\bin\javaw

    Tip: It's generally a good idea to explicitly specify which Java VM to use when running Eclipse. This is achieved with the "-vm" command line argument as illustrated above. If you don't use "-vm", Eclipse will look on the O/S path. When you install other Java-based products, they may change your path and could result in a different Java VM being used when you next launch Eclipse. Yes, but circular classpath is possible if you have jdk/jre in path and JAVA_HOME is defined. Eclipse pulsar falled into circular effect and preverify did not work. Check Java Update !!

    To create a Windows shortcut to an installed Eclipse:

    1. Navigate to eclipse.exe in Windows Explorer and use Create Shortcut on the content menu.
    2. Select the shortcut and edit its Properties. In the Target: field append the command line arguments.

    Opening this shortcut launches Eclipse. (You can drag the shortcut to the Windows Desktop if you want to keep it in easy reach.)

    ////////////////// DOWNLOADING JDK 5.0 Update 22
    http://java.sun.com/javase/downloads/index_jdk5.jsp

    latausaika on lyhyen ajana voimassa :
    http://java.sun.com/javase/downloads/5u22/jdk


    ////////////// JAVA SDK PATHS
    http://java.sun.com/j2se/1.5.0/install-windows.html


    path = "c:\Program Files\jdk_1.5.0_22"\bin
    classpath (on kuulemma ajon aikainen) tulisi laittaa kirjastoihin :

    classpathin ja kirjastojen kaytosta
    http://java.sun.com/docs/books/tutor...gingfiles.html

    Nama javan sovellukset on loydyttava windowsin komentorivilta mista
    tahansa polun kohtaa :

    java.exe (java sovelluksen ajokomento)
    javac.exe (kaantaja)
    javaw.exe (virtuaalikone)

    kuinkas naiden kanssa menetellaan (ymparistomuuttujia)
    JAVA_HOME = "c:/j2sdk1.4.2" ja JDK_HOME

    paths :
    C:\Program Files\Java\jdk1.5.0_<version>\bin
    C:\PROGRAM FILES\JAVA\JDK1.5.0_<version>\BIN

    JRE
    JRE 1.5.0_22 C:\Program Files\Java\jre1.5.0_22

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

    Taalta loytyy (ohjelmien ajamista varten runtime environment - ei loydy javac kaantajaa):
    C:\Program Files\Java\jre1.5.0_22\bin
    javaw.exe
    java.exe

    Java ohjelmien kehitysta varten (samat kuin jre mutta lisaksi loytyy javac - eli kaantaja)
    C:\Program Files\Java\jdk1.5.0_22\bin
    java.exe
    javac.exe
    javaw.exe

    Siis kummalle puolelle annetaan polku,
    Eclipse Pulsarille ja Nokian SDK:lle ?
    java ja javaw kun loytyvat mollemmilta puolilta ?

    Mutta debuggeriakin tarvitaan, etta jdk:n puolelle kaiketi
    path on annettava ?

    Mutta Eclipse haluaa kayttaa jre:n puolta, eli laita jre
    eclipsen kuvakkeen kaynnistysparametriksi !!!


    Path enne java jdk/jre asennuksen jalkeen.
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX

    S60 3rd Edition SDK Supporting Feature Pack 1, for MIDP, User's Guide.pdf
    Typically, this full path is C:\j2sdk1.4.2_<version>\bin for the Java compiler
    and C:\<S60_SDK_installation_directory>\bin for the preverifier.

    Siis kun sunin java on asennettu, niin ennen sdk:n asennusta kaiketi kannattaa
    laittaa polku C:\j2sdk1.4.2_<version>\bin for the Java compiler
    kaantajalle ??? No nainko on ???

    Lisaa tama pathiin !!! ennen Nokian sdk:n asennusta kun olet asentanut
    sunnilaisen levylle !
    C:\Program Files\Java\jdk1.5.0_22\bin

    Pathin asettelu lotyy :
    Control Panel\System\Advanced System Settings\Advanced\Environment Variables

    OLD Path :
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX

    New Path for installed Java 5 Update 22:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Java\jdk1.5.0_22\bin

    (Niin tarkasta myos System Configurationista, etta Java Platform Java 5 Update 22 on
    rastitettu kaynnistymaan kun Windowskin kaynnistyy !!!
    (Control Panel\Administrative Tools\System Configuration)

    Asennetaan Nokian SDK sitten kun path on laitettu Java 5 Platformille ja taman
    jalkeen asennetaan pathiin C:\S60.... asiat MIDP:n ohjelmointia varten !!!!

    Muista katsoa myos Eclipse Pulsarin kaynnistystiedot, kun Eclipse Pulsarin
    on kaynnistyttava jre 1.5 :een !!!

    ----------------------- Break break ennen kuin asennetaan Nokian SDK:ta
    http://wiki.forum.nokia.com/index.ph..._Windows_Vista
    Most Common problem in Vista SDK installs

    The main change in installing SDK's on Windows Vista (TM), any version, is that on setup.exe you must right click and select "Run as Administrator". You need to copy the application shortcut from Start-bar to desktop and change Properties to Compatibility to "Run as Administrator" and Windows XP Service Pack 2

    Tein nain ennen kuin asensin Nokian SDK (F-S ei ole koneella, mutta Windows Defender ja Windows Firewall ovat paalla :
    ----
    The following steps, in order, provide an easy and user friendly way of installing SDK's that are not fully supported by Windows Vista:

    * Start the Program Compatibility Wizard by entering the following line in Start -> Start Search
    * %systemroot%\System32\mshta.exe res://acprgwiz.dll/compatmode.hta
    * Select the SDK's setup.exe
    * Select install as in Windows XP SP2
    * Do not select any of the options for graphic issues (if you don´t have graphic issues otherwise select the most suitable option to solve it)
    * The following "Run as administrator" option can only be selected if you are not an administrator but it can be convenient to select it if this is the case.
    * Select the following option to always run this setup according to the previously selected options.


    This procedure was used and validated for the Nokia 6131 NFC SDK in combination with Windows Vista Ultimate.
    ----

    Nyt laitetaan pathiin Nokian SDK:

    C:\<S60_SDK_installation_directory>\bin eli tanne :
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin

    OLD PATH :
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Java\jdk1.5.0_22\bin

    NEW PATH :
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Intel\DMIX;C:\Program Files\Java\jdk1.5.0_22\bin;C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin

    Nyt preverify komennolla komentoikkunaan tulisi nakya jotain preverify kommennon johdosta ...
    OK nakyy tekstia !!!

    Nyt katso mita sunnilaisen java versiota emulaattori tukee
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\tools\ecmt\config\config.properties
    tiedostosta :
    epdt.java.version.start=1.4.1,1.4.2,1.5,5.0

    Eli rivilla kerrotaan, etta Java 5 U22 tuetaan (1.5 ja 5.0 kertoo javan ison version,
    ei U22 versiota - siis U-numeroa ei tarvitse esittaa - U22 on ainoastaan kaannos numero)

    Jos sinulla olisi Java 6 Platform, tuli edpt.java.version.start riville maaritella myos :
    ,1.6,6.0


    ------------- Windows Firewall settings

    Nokian SDK:n asennuksen jalkee Widowsin Firewwallista
    loytyi rastittamaton epoc.exe (emulator) ja Device Connection
    (siis nama ovat Nokia ohjelmia) No rastitin molemmat
    hyvaksyttaviksi ohjelmiksi Firewallin kannalta.

    Ilmeisesti debuggerikin tulisi rastittaa Windowsin
    Firewalliin. jdbg...exe kaiketi ohjelma oli nimeltaan !!

    Mutta onko debuggeri Nokian ohjelma vaiko Eclipselainen.
    Eclipseahan ei ole viela asenettu !!!

    Seuraavaksi kaiketi kaannettaa muutama Nokia esimerkkiohjelma
    ja rekisteroidaan sdk emulaattorin avulla.

    Emulaattori ei kaynnistynyt Start-All Programs S60 Tools valinnalla
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\release\winscw\udeb\


    VAAN TAAS TULI Disenabloida kaiuttimet (Nyt ei ole edes asennettuna
    Realtekkilaista vaan on on bluetootheja kaiuttimen kuvakkeen alla:
    Disenabloin kaikki kaiuttimen kuvakkeen alla oleva draiverit

    OK. Nyt rekisteröidaan Sdk emulaattorin avulla.
    Takaisin viesti :

    Thank you for registering

    You have successfully registered S60 3rd Edition FP 1 SDK for MIDP. The serial number has been e-mailed to XXXXXX.

    For your convenience you can copy the serial number from here and keep the email with the serial number as your back-up for later use.

    ******* FIREWALL SETTINGS :
    Siis, Windowsin firewalliin :
    eclipse.exe :: C:\eclipse\eclipsec.exe
    eclipsec.exe :: C:\eclipse\eclipsec.exe
    device connection :: C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\tools\ecmt\ecmtgw.exe
    emulator :: C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\release\winscw\udeb\epoc.exe
    jdbgagt :: C:\s60\devices\s60_3rd_midp_sdk_fp1\bin\epoc32\release\winscw\udeb\jdbgagt.exe
    ecmtman : C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\tools\ecmt\ecmtman.exe


    taalta myos lisatty debuggeri ja sipserver !!!!!
    C:\s60\devices\s60_3rd_midp_sdk_fp1\bin\epoc32\release\winscw\udeb\jdbgagt.exe
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin\epoc32\tools\sipserver\bin\sipserver.exe

    Belkin BT Vista Driver (WIDCOMM bt stack)
    Shoud be OK !!!

    Nokia PC Suite Version 6.8.163 ownward works with Vista
    Never ever.

    Nokia Ovi Suite
    Never ever.

    Old Nokia PC Suite versions
    Never ever.

    Use bluetooth instead on pc suite or use OTA.

    **************************
    eclipse -vm c:\program files\Java\jre1.5.0_22\bin
    stoppaa program jalkeiseen valilyontiin !!! (program_files)
    ***************************
    Last edited by teknikko; 2010-07-07 at 17:34.

  7. #7
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Best Java Me development tool for Nokia E71

    Serial number:
    xxxxxxxxxxxxxxx

    ////////////

    Nyt kaantamaan (ilman Eclipse Pulsaria Nokian esimerkkiohjelmia)
    Ohjeet taalta :
    S60 3rd Edition SDK Supporting Feature Pack 1, for MIDP, User's Guide.pdf

    Enter the following command in the Command Prompt (goto c:\ root as and run command window as administrator:

    1
    mkdir C:\tmpclasses
    2
    3 In the Command Prompt, use the cd command to switch to the s60examples\
    subdirectory of the directory where you installed the SDK:
    cd C:\<S60_SDK_installation_directory>\s60examples

    eli tanne
    cd C:\S60\devices\S60_3rd_MIDP_SDK_FP1\S60examples

    4
    4 Compile the Hello World MIDlet by entering the following command in the Command
    (Laita notepadista word wrap poispaalta)

    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\S60examples

    installation directory = C:\S60\devices\S60_3rd_MIDP_SDK_FP1

    Eli kaanna talla komennolla kun olet s60examples kansiossa :

    Yhdelle riville koko komento : notepadissa moodin : no line wrap :
    javac -d C:\tmpclasses -classpath C:\S60\devices\S60_3rd_MIDP_SDK_FP1\lib\hmidps60v31.jar C:\S60\devices\S60_3rd_MIDP_SDK_FP1\s60examples\helloworldplus\src\com\nokia\midp\examples\lcdui\helloworldplus\*.java

    Kopio tama notepadista ja tyonna komentoriville sellaisenaan !

    Nyt kaannos on loydettavissa C:\tmpclasses kansiosta - ja kuten on!


    Seuraava vaihe : "The HelloWorldPlus MIDlet has now been compiled to the tmpclasses directory. Next,
    you will need to preverify the classes that have thus been created."

    Preverifying the compiled HelloWorldPlus MIDlet
    To allow more efficient memory usage on the target device, checking the code for
    correctness is done offline by using the preverifier tool. The preverifier checks that the
    classes are correct and inserts additional information into the class files. The Virtual
    Machine looks for this information and uses it for a much simpler verification based on
    the data collected by the preverifier.

    2 In the Command Prompt, use the mkdir command to create a directory into which
    the preverifier tool should output the classes created in compiling the MIDlet.
    Enter the following command in the Command Prompt:
    mkdir C:\classes

    3
    3 In the Command Prompt, use the cd command to switch to the \bin subdirectory
    of the directory where you installed the SDK:
    cd C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin

    preverify -d c:\classes -classpath C:\S60\devices\S60_3rd_MIDP_SDK_FP1\lib\hmidps60v31.jar C:\tmpclasses

    Kun ajoin preverifyn, ei tullut mitaan ilmoitusta preverifyn onnistumisesta eika epaonnistumiseta !

    4
    Now that you have compiled and preverified the HelloWorldPlus MIDlet, you can run
    and view it in the emulator.

    Enter, for example, the following command in the Command Prompt:
    cd C:\S60\devices\S60_3rd_MIDP_SDK_FP1\bin

    5 Run the Hello World Plus MIDlet in the emulator by entering the following command
    in the Command Prompt:

    (x)
    emulator -classpath C:\classes com.nokia.midp.examples.lcdui.helloworldplus.HelloWorldPlusMIDlet

    Connect to Agent vaihe ei toimi (sdk progress ikkuna nakyvissa) :

    Tallennettu kuva virhelimoitukesta (ei sdk progressista) :
    FailedToInitiializeSession.jpg

    1. kerta meni mettan puolelle mutta toinen kerta toden sanoi
    samalla komentorivilla kuten komentorivilla kuten kohdassa (x)

    Katso kuvat, emulaattori ei vaan starttaa - tuleeko
    Defenderille ja Firewallille antaa joitain uusia ohjelmia
    ajettavaksi/ajettaviksi...

    Joku ohjelma ei vaan kaynnisty, että epoc.exe laitaisi
    komentorivilta kaannetyn Hellon emulaattoriin.

    JOO emulaattori ei avautunut ajamaan Helloa, mutta
    kaynnista emulaattori S60 toolseista, niin huomaat,
    etta Hello onkin asennettu emulaattoriin. Nain oli
    ja nyt kaynnista Hellon Installed kansiosta.

    Sama dokumentista kerrottuna (S60 3rd Edition SDK Supporting Feature Pack 1, for MIDP, User's Guide.pdf):

    Note: It may take some time for the emulator to start.
    To locate the MyHelloWorld application, do the following:
    1 Click the Applications button to open the emulator's application grid (see Graphical
    user interface).
    2 In the emulator's application grid, use the five-way navigation key to open the
    Installed folder.
    3 In the Installed folder, open the MyHelloWorld application.

    Kaynnistin emulaatorista Hellon, mutta tulikin ilmoitus "Unhandle Exception. Close Application ?"

    No kokeilemaan emulaattorin Tools > Diagnostics => Toimii
    No kokeilemaan emulaattorin Tools > Utilities => Toimii
    No kokeilemaan emulaattorin Tools > Preferences => Toimii

    Mitahan Hello oikeasti tekeekaan :
    Katso lahdekielista koodia. Eiko sano edes helloa ?

    Ohjeessa nain :
    3.
    Open the HelloWorldPlus MIDlet source file in the WordPad editor by entering the
    following command: write HelloWorldPlus.java

    4.
    In the Command Prompt, use the cd command switch to the \s60examples\src
    \com\nokia\midp\examples\lcdui\helloworldplus subdirectory of the
    directory where you installed the SDK.

    cd s60examples EIKU

    cd C:\S60\devices\S60_3rd_MIDP_SDK_FP1\s60examples\src\com\nokia\midp\examples\lcdui\helloworldplus

    EIKU TANNE
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\s60examples\src\helloworldplus

    Sitten viela cd src
    Sitten viela cd com
    Sitten viela cd nokia
    Sitten viela cd midp
    Sitten viela cd examples
    Sitten viela cd lcdui
    Sitten viela cd helloworldplus

    Nyt : write HelloWorldPlus.java
    Ei onnistu tuo : write:

    Haetaan taalta hello suoraan "wraitterrilla"!
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\s60examples\src\com\nokia\midp\examples\lcdui\helloworldplus (taalla se on) !!!

    Ei kun wraitterilla tanne :
    C:\S60\devices\S60_3rd_MIDP_SDK_FP1\S60examples\helloworldplus\src\com\nokia\midp\examples\lcdui\helloworldplus
    (laita wraitteriin all documents paalle, niin hello loytyy .java paatteisena !


    7-zippikaan aluksi ei onnistunut asentamaan Eclipsea Program Fileseihin.
    Puuttuuko kenties sertti Eclipsesta - tai 7-zipista - etta asennukset eivat vaan onnistu ilman serttia???



    >>>>>>>>>>>>>>>>>>>>> Mutta nyt eclipsen kaynnistykseen :

    Tallaista eclipse porukka esittaa (hiukan on vanha on esimerkin jdk, etta kuinkahan
    jdk:n ja jre:n suhde on muuttunut 1.4.2 ajoista katsoen???)

    No mene kansioon Program Files
    ja starttaa eclipse asennetulla jdk:llaa

    Tulisikohan eclipsekin laittaa pathiin ??

    Ennen kuin kayttaa allaolevaa komentoa ???
    Laitetaan eclipse pathiin !!!


    eclipse -vm c:\jdk1.4.2\jre\bin\javaw

    Eli kylla eclipse tulee olla pathissa,
    ennen kuin tuota yo. kaskya oikein ymmartaa !!





    /////////////////// NOKIAN MIDP SDKn lataus (S60 3rd ed. fp1)

    Getting started with Java ME
    http://www.forum.nokia.com/Develop/J...tting_started/

    Nokia builds its Java tools to work with NetBeans Java and Eclipse Pulsar.

    Getting started with Eclipse or with NetBeans
    http://library.forum.nokia.com/index...3AB011B32.html

    sdk 3.1 ( 3rd ed. fp1)
    http://www.forum.nokia.com/info/sw.n...yXUeqauSW5f-20

    ////////////////////// NOKIA SDK Installation guide

    S60_3rd Ed_ MIDP_SDK_FP1_InstallationGuide_1.01.pdf
    Nokian SDK (yo) asennetaan ensin ja sitten Eclipse.
    Nain vaitetaan tassa dokumentissa.
    Last edited by teknikko; 2010-07-01 at 23:04.

  8. #8
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: Best Java Me development tool for Nokia E71

    If your issue still persists then even you have a look over the Netbeans IDE and check if this works for you..

    Install JDK, SDK and the IDE then you have to add the SDK as the platform to your IDE.
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  9. #9
    Regular Contributor
    Join Date
    Mar 2005
    Location
    Hamburg, Germany
    Posts
    283

    Re: Best Java Me development tool for Nokia E71

    It gets difficult to sort all this information in this thread, and what they all mean. Especially since some of them are not in English.

    First you need to divide your task:
    1) get your IDE running with the JME_SDK from Sun. Make sure you can compile a simple midlet and run it in the emulator.

    2) Get the S60 SDK running. That is a total different problem.

    With 1), Netbeans and Eclipse are booth good IDEs, Netbeans may be easier to set up. But if eclipse is running with the JME_SDK, you can stick to it, the problem is only the S60 SDK.

    Second there are something which I need to contradict:
    Never switch of your AntiVirus! Escpecially when you install something. There are millions of Zombie PC out there, and you don't want your development machine to be one of them. All you need to do is make sure that you get informed when your Antivirus package is blocking something. Then if there is no such information, Antivirus is not the reason that something does not run as expected.

    About the Java Versions: the SDKs are running with a recent Java 1.6 SDK on my old WindowsXP, so I don't think that you need to use an old Java 1.5. But you need to make sure that you have an 32bit Java even on 64-bit machines.

    I think that we should have better information about S60 sdk from Nokia itself, therefore I started a thread in the feedback forum here:
    http://discussion.forum.nokia.com/fo...r-tools-needed
    Until now, Nokia seem not see the need. It may help when others are also express their problems with missing informations in this thread.

  10. #10
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Best Java Me development tool for Nokia E71

    #
    Second there are something which I need to contradict:
    Never switch of your AntiVirus!
    #

    Sure, WAN (internet connection) must be turned off before closing down antivirus applications.

  11. #11
    Registered User
    Join Date
    Aug 2009
    Posts
    173

    Re: Best Java Me development tool for Nokia E71

    ADDING_NOKIA_EMULATOR.txt

    Be sure that you have these packages on your hands before installilng
    Nokia Emulators on your (in my case into Vista + Sp2) system :

    ActivePerl-5.6.1.635-MSWin32-x86.msi
    msvcr71.dll
    jdk-6u20-nb-6_9-windows-ml.exe (found from sun's site? or oracle's site)
    netbeans-6.9-ml-java-windows.exe (found from netbean's site)

    The installattion strory is not very logic, but i am just writing up my installation
    story to my self - so that, after 2 years, i havr something documented, that
    how installation of NETBEANS (6.9 ) and Nokia emulators went.


    VISTA SPECIFIC INSTALLATION DISCUSSION.

    googleen : how to add nokia emulator to java me 3 sdk

    Jdk and jre wants to be installed here :
    C:\Program Files\Java\...
    So let them go.


    http://java.sun.com/javase/downloads


    C:\Program Files\Java\jdk1.6.0_20

    http://discussion.forum.nokia.com/fo...JavaME-SDK-3.0


    ////////////// INSTALLATION ORDER !!!
    first install this version of perl:
    ActivePerl-5.6.1.635-MSWin32-x86.msi

    perl first into path-> Netbeans 6.9 + jre6 + jre6bin\msvcr71.dll to system32 -> Nokia emulator sdk
    + epdt.java.version.start=1.4.1,1.4.2,1.5,5.0,1.6,6.0 -> netbeans-6.9-ml-java-windows.exe (finds nokia emulator)

    THAT'S ALL FOLKS !

    Good document for emulator command line instructions :
    Unified Emulator Interface Specification
    uei_specs.pdf

    //////////////

    When running emulator from command line (path points to emulator.exe ), i got
    error message of missing MSVCR71.dll file and :
    Cannot start Series60 SDK for MIDP

    (perl is installed and perl is in path and perl is just this version :
    ActivePerl-5.6.1.635-MSWin32-x86.msi).
    After installin perl, i got those error messages of missing
    msvcr71.dll !! Thanks for the perl.

    =======>>> google : Cannot start Series60 SDK for MIDP

    http://discussion.forum.nokia.com/fo...0-SDK-for-MIDP

    ;;;

    Allright - it seems to be working now.
    The problem was a missing msvcr71.dll in the bin directory of the sdk.

    ;;;

    I got this message "Cannot start series 60 SDK for MIDP"

    What should i do??? Where to find the .DLL file that is missing?

    Thanks in advance.

    ;;; >>>>>>>>>>>>>>>

    Hi
    In your \windows\system32 directory

    Same problem for me resolved with :
    copy c:\windows\system32\msvcr71.dll -> S60\bin\

    ;;; >>>>>>>>>>>

    Load dll from here :

    http://www.dll-files.com/dllindex/dl....shtml?msvcr71
    (better to find this dll from jre6\bin !)

    >>>>>>>>>>
    SIis dll laitetaan joko emulaattorin bin kansioon tai
    sitten se laitetaan system32\bin kansioon !!!

    Kuinkahan Vistan security asiaan suhtautuu !!!

    >>>>>>>>>>>>>>

    From here you can see registered dlls :

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\SharedDLLs]

    But msvcr71.dll is not registered !

    regsvr32 c:\windows\System32\msvcr71.dll -> No effect ; only some kind of errror message from W-Vista system !

    --------------------- SIIS ON MSVCR7.dll:n on oltava windows\system32 kansiossa kun asennetaan nokia emulaattoreita !
    Tama yrittaa vaitaa toisin !:
    I believe that msvcr71.dll is not considered a system file anymore and should be installed in the same folder as the application that requires it. It should

    not be installed in the system32 folder. See http://support.microsoft.com/kb/326922

    "For a list of files that are redistributable in Visual C++ .NET, see Redist.txt in the Program Files\Microsoft Visual Studio .NET directory on the second

    Visual Studio .NET product CD, or on the DVD. The redistributable files are located in the Program Files\Common Files\Merge Modules directory." Taken from

    http://msdn.microsoft.com/en-us/library/aa984372.aspx

    "Visual Studio .NET provides its redistributable files in the form of merge modules. These merge modules encapsulate the redistributable DLLs and can be used

    by setup projects or other redistribution tools. Using the merge modules ensures that the correct files are redistributed with an application. However, if

    your installer does not support distributing merge modules, you can redistribute the DLLs embedded in the merge modules. You need to either extract the DLLs

    from the merge modules or get them from the product CD or DVD. Do not copy files from your hard disk." Taken from http://msdn.microsoft.com/en-

    us/library/aa984684.aspx

    ----------

    Taalla myos ohjeita java me sdk:n logeista !!!
    http://wiki.forum.nokia.com/index.ph...roubleshooting


    ------- ON DEVICE DEBUGGING

    http://discussion.forum.nokia.com/fo...0-SDK-for-MIDP

    yup got it to work (on-device debugging)...
    You will need the SDK and set it in your project properties (in Netbeans) as the Platform that has to be used, then you have to select S60 device instead of

    Emulator...
    After that you will have to install the ecmagent on your device and start it up, then use the S60 SDK Tool called Device Connection to connect to the S60

    device (through bluetooth) and then finally you can click on the Debug button

    ------- jre\bin alta loytyy tuo samainen dll mita msvcr71.dll

    Hi Matelco,
    try to copy msvcr71.dll from a Sun JDK (e.g. C:\Program Files\Java\jre1.6.0_06\bin) to the bin folder of your NFC SDK (e.g.

    C:\Nokia\Devices\Nokia_6131_NFC_SDK_1_1\bin).
    Reiner

    --------------- Hyva ohje :

    http://wiki.urban.cens.ucla.edu/inde...28Carbide.j%29

    On-device debugging

    Pitfall: Install the agent on the phones internal memory, not on the memory card.
    If you install the debug agent on the external memory card Eclipse will halt at the "Connect to Agent" message and WLAN debug will not be visible on the

    phone.

    After installing Netbeans and the Nokia Emulator for S60 it is most likely that you will receive error messages like this:
    Cannot start Series 60 SDK for MIDP
    Or
    Cannot start Ecmt Manager

    This is due to the fact that Windows Vista is missing a required DLL file: MSVCR71.dll. Download it from a random website and place it in the bin folder of

    your Nokia S60 MIDP SDK.
    (jre\binnista lotyy)


    ----------

    How-to setup Java for Phone Development
    http://wiki.urban.cens.ucla.edu/inde...ne_Development

    ------------ SIIS, tulee lukea kaikki known issue asiat ennen kuin aloittaa midletin tekemisen Nokian emulaattorilla :

    http://wiki.forum.nokia.com/index.ph...ge_in_emulator

    Description

    If a system has only the latest Java Runtime Environment (JRE) version 6 installed, an attempt to open the Tools > Preferences menu in the emulator may fail

    with the "Cannot start ECMT Manager" error message.
    Solution

    Check that the version information of the JRE exists in the config.properties file used by the ECMT framework.

    Open the following file in a text editor:

    <SDK_Installation_Path>\epoc32\tools\ecmt\config\config.properties

    and add the correct version of the installed Java Runtime at the end of the epdt.java.version.start property.

    For example, in a system with JRE version 6 installed, add ",6.0" at the end of the line:

    epdt.java.version.start=1.4.1,1.4.2,1.5,5.0,1.6,6.0

    --------

    siis :
    perl ensin ja polkuun, java jre (kenties polkuun) ,msvcr71.dll jre6:sta windows\system32 kansioon sen ajaksi
    kun asentaa nokian sdk:n, sitten siirretaan emulaattorin binniin, java version muutos emulaattoriin. Nain,
    koska msvcr71.dll ei ole rekisteroitavissa Vistassa regsvr32... tavalla....???

    Taalla lisaa juttuja !!!
    http://tamss60.tamoggemon.com/2009/0...mulator-files/



    >>>>>>>>>>>>>> Remote ODD

    Here is the link - how remote odd might be true ...
    http://discussion.forum.nokia.com/fo...8ODD%29-on-E65

    >>>>>>>>>>>>>>>>>

    Taalla netbeanssia & java me
    http://netbeans.org/kb/trails/mobility.html

    >>>>>>>>>>>>>>>>>>>

    I am keeping msvcr71.dll on my desktop... Thanks for the perl.

    ////
    And one more thing to remember when trying to get Nokia emulators going on :

    In some cases, Java Update, Java Update must be turned off, before updating the Java ME environment - because it might ruin your justa insallede system.
    Better to close Java Update before going on your Java ME installation environment.


    Disenabling Java Update : (At least in case of Windows Vista)

    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy
    Turn EnableJavaUpdate to "0"
    if you do not want to receive java updates on your current
    windows installation of java runtime environment (
    because of : java update may change
    the jre/jdk environment too ?)


    Why? Because of Java Update may ruin your jre installation for
    already installed NetBeans or Eclipse installation.

    For example : If you have jre 1.5 installed on your development
    environment, Java Update may change your Java environment
    from 1.5 to 1.6

    One more thing. If you are not able to start emulator (Nokia emulator)
    from command line or from Start > All Programs >> S60Tools...
    Emulator..

    ..and emulator is starting on, but suddenly disappears,
    turn off your audio drivers from (in Vista case) :
    Start > Control Panel > Device Manager > Sound video and
    Game Controllers
    and disable (turn off) : Sound Video and Game Controllers :
    in my Vista case : High Definition Audio Device
    Last edited by teknikko; 2010-07-10 at 20:20. Reason: Packages :

Similar Threads

  1. software java plug-in graphical user interface for nokia e71
    By yozua in forum General Development Questions
    Replies: 4
    Last Post: 2008-10-09, 09:18
  2. Nokia 7210 & java development
    By Nokia_Archive in forum Mobile Java General
    Replies: 1
    Last Post: 2002-05-27, 13:55
  3. Does Nokia provide any tools for Java development?
    By Nokia_FAQ in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-05-13, 19:52
  4. Nokia M2M Application Development Tool Kits
    By sguthery in forum Nokia M2M
    Replies: 2
    Last Post: 1970-01-01, 02:00

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×