• 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
  • 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

Problem with running java via .bat file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I have a problem with running a java class via *.bat file.
The problem is the .bat file doesn't work consistently.
What I'm trying to say is that I've tried to execute the .bat file in 3 different PCs; it was run succesfully on the first two PCs and failed on the last one. The error message is about NoSuchMethodException.

Does anyone know how come this happened? Really Need your help...


Thanks
 
Ranch Hand
Posts: 657
Spring VI Editor Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Different JVM versions, it sounds like...
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Yo Nathan:
Hi,

I have a problem with running a java class via *.bat file.
The problem is the .bat file doesn't work consistently.
What I'm trying to say is that I've tried to execute the .bat file in 3 different PCs; it was run succesfully on the first two PCs and failed on the last one. The error message is about NoSuchMethodException.

Does anyone know how come this happened? Really Need your help...


Thanks




Ya...Steve's right !! Different JVM versions on the machines causes this problem.
 
Yo Nathan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sherry Jacob:



Ya...Steve's right !! Different JVM versions on the machines causes this problem.



Hi Steve, Sherry.....Thank you very much for your answer...
It really solves the problem=)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic