Plüss   Aplulogo      Print Text 
© 2021, V10.4


Integration of MidPak in JCreator:

  1. Download JCreator from and install it.

  2. Install MidPak by following the installation guidelines.

  3. In the menu bar choose Configure | Options | JDK Tools. Select Tool Type: Compiler
    and click New.

  4. Adapt the dialog Tool Configuration - Compiler as shown:

  5. Adapt the checkboxes in tab Parameters as shown:

    In the text field Parameters enter the following line
    (all on one line, no spaces in pathnames assumed, bootclasspath contains
    all necessary jars as stated in MidPak's installation guide):

    -bootclasspath c:\wtk25\lib\cldcapi11.jar;c:\wtk25\lib\midpapi20.jar; c:\wtk25\lib\wma20.jar;c:\wtk25\lib\jsr082.jar;
    c:\wtk25\lib\jsr75.jar;c:\jars\gidlet.jar -source 1.3 -target 1.1 $[JavaFiles] -d $[OutputPath]

  6. Create a new (empty) project with File | New | Project. Under Project | Project Properties open tab JDK Tools and Select Tool Type: Compiler. Check the MIDlet option. Now you are ready to successfully edit/compile a MIDlet.

  7. In the menu bar choose Configure | Options. In the left pane click on Tools and then on the appearing button New. Select Program and choose java.exe that normally resides in c:\windows\system32.

  8. In the left pane click on java. Adapt the checkboxes as shown below. The text field Arguments starts with -jar c:\jars\midpak.jar, then follows all arguments of MidPak as stated in the installation guide. Typically (all on one line, when using ProGuard and the Gidlet framework):

    -jar c:\jars\midpak.jar -e -o=c:\jars\proguard.jar -i=c:\jars\gidlet.jar $[CurClass] $[PrjDir] c:\wtk25 c:\wtk25\lib\midpak

  9. With the mouse anywhere in the menu bar, click right and select Tools. In the menu choose Configure | Customize, right-click on the appropriate tool icon and select Button Appearance. Adapt name and image as wanted. Drag the tool icon to a menu position you like.

  10. After a MIDlet is edited/compiled click an the tool icon and MidPak should do its duty.

  11. You may modify MidPak's arguments to your need, or just try the -d and -v options.