What is iDiet?
iDiet management software that will help people choose, customize and follow their diet. Several supported diets ( eg. Atkins, Summer Fresh,The Zone, Weight Watchers, Body for Life etc ) with details for every one of them.

System requirements
  • Minimum JRE: 1.6.0

iDiet on an eComStation machine with Open JDK

Installing iDiet
Download iDiet-1.0.5.zip. Make a directory/map with the name "idiet". Open the zip file and go into the directory "iDiet-1.0.5". Copy everything from this directory to the new directory "idiet". That's all!

The used cmd file
iDiet works with Open JDK in OS/2-eCS. I have a idiet.cmd file with the following contents;
@echo off
set BEGINLIBPATH=[drive: java]\JAVA160ga5\bin
set path=[drive: java]\JAVA160ga5\bin
[drive: idiet]
cd [drive: idiet]\idiet
java -Duser.home=[drive: idiet]\idiet -Xmx128m -jar idiet.jar 2>idiet-bugs.txt 
I use 2 separate folders (directories), one for Java and one for iDiet with the files created by this program. The references used in the cmd file;

  • [drive: java] = drive with Java
  • [drive: idiet] = drive with iDiet

should be replaced with real drive letters. Save the file and name it "idiet.cmd" or use the file from the distribution. This file is copied to the "idiet" folder (directory). Furthermore, different paths?, adjust according to your needs. Create a new program object. Specify the path and file name: "[drive: idiet]\idiet\idiet.cmd". In the tabpage Session check the boxes "OS/2 window", "Running as an icon" and "Close Window to end program". In the tabpage General you can enter the name "iDiet".

Parameters / options explained
  • The statement "-Duser.home=[drive: idiet]\idiet" will ensure that iDiet will save all necessary files in own directory instead of saving them in the home directory.
  • The specification "-Xmx128m" indicates the maximum limit of the used memory. the value comes from the bugs file.
  • The addition "2>idiet-bugs.txt" ensures that errors are saved in the file "idiet-bugs.txt". The 2 in "2>" is not a typo!

In the file you can find the above command files (all drive letters are on set to C:), an OS/2 iDiet icon and a short manual as pdf: idiet-ecs.zip.

revision August 16, 2016