Hi,
Is it possible (or...is it easy?) to check the version of a jar file from a c# application? I have this java program I'm running from inside my app and need to store the version - in case the user upgrades.

As far as I know, the jar file is a zipped file, and the version info should be stored in META-INF\MANIFEST.MF

Cheers!

>As far as I know, the jar file is a zipped file, and the version info should be stored in META-INF\MANIFEST.MF

That's true. Another way to write small java app that uses JarFile class to get menifest details.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.