Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with running java via .bat file

 
Yo Nathan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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
 
Steve Morrow
Ranch Hand
Posts: 657
Clojure Spring VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Different JVM versions, it sounds like...
 
Sherry Jacob
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • 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
  • 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=)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic