Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Java ME (J2ME) Developer Guide
Previous Page Home Next Page

Packaging Options

There are two packaging options - Create Obfuscated Package and Create Package.

Create Package

When the Create Package action is run, it will deploy the JAD file and JAR file into the deployment directory specified in the Preferences. The deployed JAR file will contain the verified classes and resources.

Create Obfuscated Package

When the Create Obfuscated Package action is run, it will deploy the JAD file and JAR file into the deployment directory specified in the Preferences. The deployed JAR file will be obfuscated by the using the Proguard Java Tool as specified in the Preferences.

Obfuscated packages are useful in providing a small level of security for your deployed MIDlets. More importantly, obfuscation generally leads to smaller deployed JAR file sizes.

In order to produce obfuscated packages, the Proguard Java obfuscation tools must be installed and the root of the Proguard installation must be configured in the Obfuscation Preferences. Proguard is a free open-source library that is available for download from https://proguard.sourceforge.net/.

Errors and Warnings During Obfuscation

It is possible that there will be warnings or errors during the obfuscation process. When this occurs, a prompt will be opened to allow packaging to continue or be cancelled.

screenshot

If the warning or error can be safely ignored, you may select Continue and MTJ will attempt to continue creating the obfuscated package. Depending on the type and severity of the problems encountered the package may not be able to be created.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire