I found this thread on Closure Compiler Google Group:

https://groups.google.com/group/closure-compiler-discuss/browse_thread/thread/79514964f16ec591/42d0f9210a552e74?lnk=gst&q=bad+version
 
#42d0f9210a552e74
( http://tinyurl.com/yzs2ef4 )

In case anyone else runs into this problem ...
On my MacBook Pro running OS X 10.5 (Leopard), I got the build to work  
by going into /Applications/Utilities/Java Preferences and changing  
the preferred order, putting Java SE 6 up top (ahead of J2SE 5.0).


--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Dec 19, 2009, at 2:27 PM, John Resig wrote:

> We're pulling in the Google Closure compiler now, instead of YUIMin,
> so it's possible that there's something wrong happening there. Looking
> through the README I don't see anything about a particular set of
> version requirements - maybe it is limited to JDK 5? Although I'm
> using 1.6 here on OS X and it's building just fine, so I'm not sure
> :-/
>
> --John
>
>
>
> On Sat, Dec 19, 2009 at 8:36 AM, Karl Swedberg  
> <k...@englishrules.com> wrote:
>> Hi all,
>> I'm terribly sorry, but I have absolutely no idea what I'm doing  
>> when it
>> comes to this sort of thing. Can anyone shed some light on how I  
>> might be
>> able to fix this? I thought I had the most recent version of Java  
>> installed
>> from the Mac OS X updates, but maybe there is a more recent version  
>> floating
>> around that I need? Or maybe that's not the problem at all. See how  
>> helpless
>> I am? ;-)
>> Building ./dist/jquery.js
>> Building ./dist/jquery.min.js
>> 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)
>>
>> My favorite line there is "... .access$100 ..."
>> Can someone tell me where to pick up my $100?
>>
>> --Karl
>> ____________
>> Karl Swedberg
>> www.englishrules.com
>> www.learningjquery.com
>>
>>
>>
>> --
>>
>> You received this message because you are subscribed to the Google  
>> Groups
>> "jQuery Development" group.
>> To post to this group, send email to jquery-...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> jquery-dev+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/jquery-dev?hl=en.
>>
>
> --
>
> You received this message because you are subscribed to the Google  
> Groups "jQuery Development" group.
> To post to this group, send email to jquery-...@googlegroups.com.
> To unsubscribe from this group, send email to 
> jquery-dev+unsubscr...@googlegroups.com 
> .
> For more options, visit this group at 
> http://groups.google.com/group/jquery-dev?hl=en 
> .
>
>

--

You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-...@googlegroups.com.
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en.


Reply via email to