Re: Version Problems (I think)
Jeff Dunnett <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks...That's what I have done. My problem was that I was compiling for 1.5 and they didn't run on the 1.4 virtual machine. I upgraded the JDK on my development environment without thinking (which was my problem). Regards, Jeff On 9-May-06, at 10:12 AM, Mike Schrag wrote: > It's not just risky, it's not possible (100% risk? :) ) ... When > you build with a 1.5 target, the class version number increments, > and those classes WILL NOT load in a 1.4 VM. You should change > your compiler to target 1.4 until your deployment environment is > upgraded. > > ms > > On May 9, 2006, at 10:04 AM, Kieran Kelleher wrote: > >> To increase your chances of success and deployment reliability, >> why not code and compile on Java 1.4.2. I think it's pretty risky >> business to be deploying Java 1.5 bytecode to a Java 1.4.2 virtual >> machine. >> >> Regards, Kieran >> >> On May 5, 2006, at 11:05 AM, Jeff Dunnett wrote: >> >>> Hello everyone, >>> >>> I think I am having a versioning problem that is causing my >>> application not to work. I believe it is this issue that is >>> causing the application not to start in JavaMonitor. >>> >>> The application was compiled written on: >>> >>> Mac OS X w\ Xcode 2.1, WebObjects 5.3.1 and Java 1.4.2 >>> >>> The application was deployed on: >>> Solaris 9 w\ WebObjects 5.2.4 and Java 1.4.2 >>> >>> This combination seemed to have worked fine but recently I >>> upgraded the software on my Mac OSX to included Java 1.5.0. >>> >>> The application is now compiled on: >>> >>> Mac OS X w\ Xcode 2.1, WebObjects 5.3.1 and Java 1.5.0 >>> >>> The application is still deployed on: >>> Solaris 9 w\ WebObjects 5.2.4 and Java 1.4.2 >>> >>> The only code I changed was a string in the application. Now for >>> some reason the application just dies when I try to run it >>> through Java monitor. Could this be a versioning issue? Could >>> it be something else? Is there a solution you helpful folks can >>> recommend? >>> >>> Regards, >>> Jeff >>> _______________________________________________ >>> WebObjects-dev mailing list >>> [email protected] >>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev >> >> _______________________________________________ >> WebObjects-dev mailing list >> [email protected] >> http://www.omnigroup.com/mailman/listinfo/webobjects-dev