From: Chris B. <bro...@gm...> - 2008-12-23 20:13:57
|
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 |
From: brett l. <wak...@gm...> - 2008-12-24 03:58:17
|
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 > |
From: Chris B. <bro...@gm...> - 2008-12-24 20:06:59
|
On Tue, Dec 23, 2008 at 7:58 PM, brett lentz <wak...@gm...> wrote: > Can you try using Java 6 (1.6.0)? Maybe some 6-specific code crept in... That worked. Boy, Apple doesn't make it very easy to switch JRE versions! Thanks for he help. -Chris |
From: Erik V. <eri...@hc...> - 2008-12-24 10:31:36
|
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 |
From: Mark S. <mar...@gm...> - 2008-12-24 12:56:19
|
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 > |
From: Mark S. <mar...@gm...> - 2008-12-25 02:17:00
|
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 >> > > |
From: brett l. <wak...@gm...> - 2008-12-25 18:14:12
|
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 > > |
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 > |
From: brett l. <wak...@gm...> - 2009-01-02 20:22:46
|
I've released a fixed version of 1.0.6 that works on Java 5 (1.5). The new changes will need to wait for another release. ---Brett. 2008/12/26 Mark Smith <mar...@gm...>: > 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 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > |
From: Mark S. <mar...@gm...> - 2009-01-02 23:01:35
|
Brett, I went to look and just confirm it ran ok. What I find at the download location is Version 1.0.6 from Dec 22, 2008. This appears with the same timestamp as the previous tarball. Mark On Fri, Jan 2, 2009 at 3:22 PM, brett lentz <wak...@gm...> wrote: > I've released a fixed version of 1.0.6 that works on Java 5 (1.5). > > The new changes will need to wait for another release. > > ---Brett. > > > 2008/12/26 Mark Smith <mar...@gm...>: > > 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 > > > > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > > 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 > |
From: brett l. <wak...@gm...> - 2009-01-02 23:38:44
|
The date is probably the date I created the "release" tag in the CMS, and probably has no bearing on the date the files were uploaded. Bug or feature, you decide. ;-) ---Brett. On Fri, Jan 2, 2009 at 3:01 PM, Mark Smith <mar...@gm...> wrote: > Brett, > > I went to look and just confirm it ran ok. What I find at the download > location is Version 1.0.6 from Dec 22, 2008. This appears with the same > timestamp as the previous tarball. > > Mark > > On Fri, Jan 2, 2009 at 3:22 PM, brett lentz <wak...@gm...> wrote: >> >> I've released a fixed version of 1.0.6 that works on Java 5 (1.5). >> >> The new changes will need to wait for another release. >> >> ---Brett. >> >> >> 2008/12/26 Mark Smith <mar...@gm...>: >> > 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 >> >> >>> > >> >> >>> > |
From: Mark S. <mar...@gm...> - 2009-01-03 01:08:43
|
That sounds strange... but I tried it out. It does appear to run properly under Java 1.5. Looking at the JAR file itself, it does show a modified date of January 2, 2008 at 2:32 PM. Mark On Fri, Jan 2, 2009 at 6:38 PM, brett lentz <wak...@gm...> wrote: > The date is probably the date I created the "release" tag in the CMS, > and probably has no bearing on the date the files were uploaded. > > Bug or feature, you decide. ;-) > > ---Brett. > > On Fri, Jan 2, 2009 at 3:01 PM, Mark Smith <mar...@gm...> wrote: > > Brett, > > > > I went to look and just confirm it ran ok. What I find at the download > > location is Version 1.0.6 from Dec 22, 2008. This appears with the same > > timestamp as the previous tarball. > > > > Mark > > > > On Fri, Jan 2, 2009 at 3:22 PM, brett lentz <wak...@gm...> wrote: > >> > >> I've released a fixed version of 1.0.6 that works on Java 5 (1.5). > >> > >> The new changes will need to wait for another release. > >> > >> ---Brett. > >> > >> > >> 2008/12/26 Mark Smith <mar...@gm...>: > >> > 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 > |
From: brett l. <wak...@gm...> - 2009-01-03 01:48:24
|
It probably sounds strange because I probably didn't explain it very well. ;-) SF.net provides us (me) with admin tools that behave like a CMS (plone, drupal, joomla, etc.). So, to publish a release, I "create a release" which basically just creates a blank entry in their database for me to associate with any files, release notes, etc. that I upload. So, it's this "release" object in their database that has a creation timestamp independent of the files' own timestamps. The web UI is just displaying the timestamp on this "release" database object rather than hitting the file system to look up when the individual files were last modified. ---Brett. On Fri, Jan 2, 2009 at 5:08 PM, Mark Smith <mar...@gm...> wrote: > That sounds strange... but I tried it out. It does appear to run properly > under Java 1.5. Looking at the JAR file itself, it does show a modified date > of January 2, 2008 at 2:32 PM. > > Mark > > On Fri, Jan 2, 2009 at 6:38 PM, brett lentz <wak...@gm...> wrote: >> >> The date is probably the date I created the "release" tag in the CMS, >> and probably has no bearing on the date the files were uploaded. >> >> Bug or feature, you decide. ;-) >> >> ---Brett. >> >> On Fri, Jan 2, 2009 at 3:01 PM, Mark Smith <mar...@gm...> wrote: >> > Brett, >> > >> > I went to look and just confirm it ran ok. What I find at the download >> > location is Version 1.0.6 from Dec 22, 2008. This appears with the same >> > timestamp as the previous tarball. >> > >> > Mark >> > >> > On Fri, Jan 2, 2009 at 3:22 PM, brett lentz <wak...@gm...> wrote: >> >> >> >> I've released a fixed version of 1.0.6 that works on Java 5 (1.5). >> >> >> >> The new changes will need to wait for another release. >> >> >> >> ---Brett. >> >> >> >> >> >> 2008/12/26 Mark Smith <mar...@gm...>: >> >> > 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 > > |