IBM Support

Resolve error message "No version in manifest (not in a jar?), trying 1260" when building CPLEX Optimization Studio Java applications

Troubleshooting


Problem

How to resolve error message ""No version in manifest (not in a jar?), trying 1260" when building CPLEX Optimization Studio Java applications?

Cause

OPL code looks for Implementation-Version in manifest file and use the version number there. Otherwise, the version number will be set to 1260, even for the latest version of CPLEX Optimization Studio.

Resolving The Problem

Users need to make sure there is a valid line of Implementation-Version in manifest file in the final jar file. One of the ways to achieve it is to make a copy of the CPLEX Optimization Studio jars files instead of extracting the classes out of the original jars.

[{"Product":{"code":"SSSA5P","label":"IBM ILOG CPLEX Optimization Studio"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF025","label":"Platform Independent"},{"code":"PF022","label":"OS X"}],"Version":"12.7.1;12.7.0;12.6.3;12.6.2;12.6.1;12.6.0.1;12.6","Edition":"All Editions;Edition Independent","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg22005744