From: Mark S. <mar...@gm...> - 2008-12-26 23:41:54
|
You could generate a separate deployment package aimed at Java 1.5... or simply update the Version Number to 1.0.7, with the bug fixes Erik has put in. Mark On Thu, Dec 25, 2008 at 1:14 PM, brett lentz <wak...@gm...> wrote: > Yep. It looks like my copy of Eclipse was set to compliance level for Java > 1.6. > > I'll fix that and release an updated package. > > ---Brett. > > On Wed, Dec 24, 2008 at 6:16 PM, Mark Smith <mar...@gm...> > wrote: > > Brett & Erik, > > > > I have duplicated the problem on my Mac OS 10.5 running Java 1.5. The > code > > runs properly on Java 1.5, and I expect maybe you upgraded your Eclipse > to > > generate for Java 1.6 and that won't run on a Java Platform with 1.5. > > > > The latest version of Java for Mac that is available is Java SE 6 for Mac > > OSX 10.5.2 and later. One of the key items though is that it will only > work > > in 64 bit Intel based Macs, not PowerPC or 32 bit Intel based Macs. So > > unless there is a very compelling reason to compile it as Java 1.6, I > > recommend that you do not do so. > > > > Mark > > > > On Wed, Dec 24, 2008 at 7:56 AM, Mark Smith <mar...@gm...> > wrote: > >> > >> Given I do my development on my Mac, OS 10.5, I will look into this this > >> evening. > >> > >> Mark > >> > >> On Wed, Dec 24, 2008 at 5:31 AM, Erik Vos <eri...@hc...> wrote: > >>> > >>> Brett, > >>> > >>> The "Compiler compliance level" in my Eclipse Rails project is set to > >>> 5.0, > >>> and it compiles and runs with JRE 1.5.0_11, so I would be surprised is > >>> the > >>> code is at 6.0 somewhere. Could you please check your versions, as used > >>> in > >>> building the release? > >>> > >>> I would prefer to leave the level at 5.0 for another while. (BTW I > don't > >>> think 6.0 has produced any significant new stuff on the code level, so > I > >>> suspect it'll rather be the JRE). > >>> > >>> Erik. > >>> > >>> -----Original Message----- > >>> From: brett lentz [mailto:wak...@gm...] > >>> Sent: Wednesday 24 December 2008 04:58 > >>> To: bro...@gm...; Development list for Rails: an 18xx game > >>> Subject: Re: [Rails-devel] Running 1.0.6 on Mac OS X 10.5 > >>> > >>> Can you try using Java 6 (1.6.0)? Maybe some 6-specific code crept > in... > >>> > >>> ---Brett > >>> > >>> On Tue, Dec 23, 2008 at 12:13 PM, Chris Brooks <bro...@gm...> > >>> wrote: > >>> > I'm able to run 1.0.5 just fine, but when I try to run 1.0.6 no joy. > >>> > Some details: > >>> > > >>> > java version "1.5.0_16" > >>> > Java(TM) 2 Runtime Environment, Standard Edition (build > >>> > 1.5.0_16-b06-284) > >>> > Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing) > >>> > > >>> > The error I see: > >>> > > >>> > Exception in thread "main" java.lang.UnsupportedClassVersionError: > Bad > >>> > version number in .class file > >>> > at java.lang.ClassLoader.defineClass1(Native Method) > >>> > at java.lang.ClassLoader.defineClass(ClassLoader.java:675) > >>> > at > >>> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) > >>> > at > java.net.URLClassLoader.defineClass(URLClassLoader.java:260) > >>> > at java.net.URLClassLoader.access$100(URLClassLoader.java:56) > >>> > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > >>> > at java.security.AccessController.doPrivileged(Native Method) > >>> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > >>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:316) > >>> > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280) > >>> > at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > >>> > at > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374) > >>> > > >>> > Any ideas? > >>> > > >>> > -Chris > >>> > > >>> > > >>> > >>> > ---------------------------------------------------------------------------- > >>> -- > >>> > _______________________________________________ > >>> > Rails-devel mailing list > >>> > Rai...@li... > >>> > https://lists.sourceforge.net/lists/listinfo/rails-devel > >>> > > >>> > >>> > >>> > ---------------------------------------------------------------------------- > >>> -- > >>> _______________________________________________ > >>> Rails-devel mailing list > >>> Rai...@li... > >>> https://lists.sourceforge.net/lists/listinfo/rails-devel > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> _______________________________________________ > >>> Rails-devel mailing list > >>> Rai...@li... > >>> https://lists.sourceforge.net/lists/listinfo/rails-devel > >> > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |