Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse - ANT preverification problem

 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am having the following problem --

Same project when compiled using ANT on PC1, shows



while on PC2 compiles perfectly fine.

This is leading me to think that only thing different on the 2 PCs could be the Eclipse settings.

Can anyone throw some light on it ?

Regards,
Arijit
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Googling for "jar preverification failed" gives some ideas:

- there might be some old class files, try a clean build
- the path to the jdk isn't configured correctly
- you are using an obfuscator which is creating invalid class files

Does that give you some ideas on what to look for?
 
Arijit Ghosh
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.. thanks
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool!

If you solved your problem, please tell us how, so that we all learn something. Thanks!
 
Arijit Ghosh
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ilja,


- there might be some old class files, try a clean build

>> deleted the whole project and tried it fresh.. same problem


- the path to the jdk isn't configured correctly

>> Should not be the case because checked the path plus it compiles perfectly


- you are using an obfuscator which is creating invalid class files

>> Using Proguard ???


Regards,
Arijit
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic