Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply 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
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

java.lang.VerifyError

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • 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 -




I am using Oracle JDeveloper. The JDK version is 1.4.2_03 and the classpath is set to:
C:\jdev9051\jdk\jre\lib\rt.jar;C:\jdev9051\jdk\jre\lib\i18n.jar;C:\jdev9051\jdk\jre\lib\sunrsasign.jar;C:\jdev9051\jdk\jre\lib\jsse.jar;C:\jdev9051\jdk\jre\lib\jce.jar;C:\jdev9051\jdk\jre\lib\charsets.jar;C:\jdev9051\jdk\jre\classes

Thanks. Any help much appreciated.

Cheers,
Jyotsna
SCJP (73%)
SCWCD (85%)
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What version of Ant?
 
Jyotsna Pai
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi David,

Thanks for your reply!
I was using ant.jar of a version 1.3 on Windows XP and WinCVS 1.2 for source control.
The IDE used is Oracle JDeveloper version 9.0.5.1

I was trying to resolve this error and in the process changed my ant.jar to version 1.5.1.
Now instead of VerifyError, I am getting "Unable to execute Ant" with the following error details -



My Path, Classpath and JAVA_HOME details are -


Incidentally which ever version of ant.jar I use, whether version 1.3 or version 1.5.1 , I am getting the same error - Cannot execute Ant - CreateProcess Exception as above.

Thanks again.

Cheers,
Jyotsna Pai
 
Jyotsna Pai
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I landed up resolving the CreateProcess exception.
It seems it was in relation to the classpath and path.

But somehow its reverted back to the VerifyError exception.
My Path is -


and my classpath is


The ant.jar has to be the same as used in production, which is of version 1.3
Platform - Windows XP
Source control - WinCVS 1.2
IDE - JDeveloper version 9.0.5.1
Build.xml is same as in my first email.

Please advise me on resolving this error. I have to use ant.jar of version 1.3.
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic