• 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Moving from jdk 1.4 to jdk 1.5

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have just recompiled all my code using JDK1.5.0_03 and now when I try to deploy it on Orion I get the following error:

Auto-deploying petardsCMS-ejb.jar (ejb-jar.xml had been touched since the previous deployment)... PetardsFacade_StatelessSessionBeanWrapper0.java:2: cannot access java.rmi.NoSuchObjectException
bad class file: c:\jdk1.5.0_03\jre\lib\rt.jar(java/rmi/NoSuchObjectException.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.
import java.rmi.NoSuchObjectException;
^
1 error
Error compiling C:\sandbox\java\deploy\petardsCMS/petardsCMS-ejb.jar: Syntax error in source
Orion/2.0.2 initialized

Any Ideas?
 
Jag Bains
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Realised that I had to copy the latest version of tools.jar
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Glad you posted your solution, Jag.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes, thanks very much indeed!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic