×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    1

    Please help about getting a jar to a sis.

    hi all, as the title, I am having problem on getting my jar to a sis.

    here is what I did:
    I have got a test midp with only 1 class, 1 png, which was build by J2ME WTK 1.0.4, and I am sure the jar works fine on the machine (I IR it to the machine and try).

    1/: use AIF Builder to create .aif .app and .txt file.
    as I only got 1 class file in the jar, I use
    -cp \system\apps\test\test.jar test

    2/: create a pkg file by text editor.
    #{"test"},(0x00000001),1,0,0

    "test.app"-"!:\system\apps\test\test.app"
    "test.txt"-"!:\system\apps\test\test.txt"
    "test.jar"-"!:\system\apps\test\test.jar"
    "test.aif"-"!:\system\apps\test\test.aif"
    "icon.mbm"-"!:\system\apps\test\icon.mbm"

    3/: use makesis to create a sis file.

    I can get the file to my 7650 by IR, and install it without problem. but when I exec it, system return "System Error!"

    am I missing something? or did I set anything wrong?
    can someone please help as I already spend 3~4 days n nights reading the series 60 SDK doc and tried........

    thanks in advance!

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4

    RE: Please help about getting a jar to a sis.

    It's been a while since I've created .sis-files, but I checked my hard drive and found this:

    --
    #{"test"},(0x08101216),1,0,0
    "test.jad" - "c:\nokia\installs\test.jad"
    "test.jar" - "c:\nokia\installs\test.jar"
    --

    So I've got a different installation directory and haven't included .app, .txt and other files. Also it seems that you haven't included the .jad file. (Maybe it's got to be there too, I don't know.)

    - Mikko

  3. #3
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    88

    RE: Please help about getting a jar to a sis.

    Hi,
    it is possible that you do not need .sis file for install J2ME application on 7650 (cause J2me is running not only on 7650 it should be installing and running on any j2me devices, may be not propertly, but run), and there is not UID for j2me application, so you simple can't build propertly .sis file for 7650. For installing application on 7650, in simplest way you need jar file only, send it on device via bluetooth or Ir and open it, it should be install in "Applications". It is possible emulating work of 7650 j2me installation program, but why?

    regards Dmitry Bulichkov

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    RE: Please help about getting a jar to a sis.

    You don't need to package JAD and JAR into a SIS file. Nokia PC Suite for 7650 can install a midlet (both JAD and JAR files must be provided) as in the same way as it installs a SIS package.

Posting Permissions

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