Wiki
Clone wikijavarosa / MultiplePolishInstalls
While setting up the build environment, complications occur if you already have an older version of Polish installed when need to install Polish 2.1.0. You have a couple of options. They are listed here, listed in order of recommendation.
Option 1: Move Old Polish (Highly Recommended)
- Using Windows Explorer, navigate to C:\Program Files\.
- Right click on J2ME-Polish, and click "Rename".
- Enter J2ME-Polish2.N.M, where N.M is the version number of the existing installation. Press enter, and verify that the folder is no longer called J2ME-Polish.
- Resume the Getting Started/Installing the Development Environment/Step 4.2, installing J2ME-Polish 2.1.0 to the path C:\Program Files\J2ME-Polish
Option 2: Install J2ME Polish 2.1.0 To A Non-Standard Directory (Only Recommended for Advanced Users)
The J2ME-Polish 2.1.0 installer will attempt to install itself to C:\Program Files\J2ME-Polish2.1.0; this is ok, but requires that you make a few changes to your build environment.
- In Getting Started/Configuring the Development Environment/Step 4.2, set the POLISH_HOME references to point to the location you've chosen (generally C:\Program Files\J2ME-Polish2.1.0).
- After Getting Started/Configuring the Source Code/Step 3.1 create a new file in the root directory of the j2me-demo-app folder called local.properties.
- Open the file local.properties and add the following line, setting the path to be identical to the one used in step 1.
polish.home=C:\\Program Files\\J2ME-Polish2.1.0\\
- Open the file local.properties and add the following line, setting the path to be identical to the one used in step 1.
Your environment should now be configured to build properly against Polish 2.1.0.
Updated