Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.VerifyError:

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi all,
Im very new to ANT..i just downloaded Ant 1.5.4 and im trying to run it somehow, i went thru the newsletter by Mr.Thmoas Paul of Javaranch, but i could not grab the things he has expalined there...
shld i have to creat a build.xml file for running ant ??
i have downloaded the zip file of ant from apache . when i tried
d:\ant>Ant
Buildfile: build.xml does not exist!
Build failed
later i created a build.xml file its like

i really dont know if im following the right way or not..
when i run
D:\ant>ant jar
i got this error


could anyone help me with this, an example build.xml file wil be verymuch helpful for me..
thanks
raj
Sun Certified Java Programmer
Sun Certified Web Component Developer
 
Rajeev Ravindran
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
hi all,
i didnt get any reply from ranchers . I still couldnt find the cause of VerifyError..But when I tried to build the same using Win 98 it worked..First it was showing some errors regardign the syntax of my build.xml file, i cleared it and it worked..I still wonder wat is wrong with my Win NT Professional..
Thanks
Raj
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
I had a similar problem an found two ways to fix it:
1.- Change jdk version. Apparently some code you are using needs a different jdk. In my case if I used jdk 1.3.1_01 it worked fine. If I used 1.3.1_10 it didn't.
2.- use the -noverify when invoking java
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi there,

Can anyone help me with this as I am new to Ant build.
I am getting the java.lang.VerifyError when I try to run my build with a target environment.


I looked at a similar question earlier, and tried changing the JDK to a version 1.3.1_10, it did not work. The build.xml is as follows -


Thanks. Any help much appreciated.

Cheers,
Jyotsna
SCJP (73%)
SCWCD (85%)
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Jyotsna,

Please do not add questions to a 5 year old thread. Please create a new topic in this forum to discuss your question.
 
I found some pretty shells, some sea glass and this lovely tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
    Bookmark Topic Watch Topic
  • New Topic