[Scons-users] JDK 1.7 support?
    William Deegan 
    bill at baddogconsulting.com
       
    Thu Sep  6 12:17:59 EDT 2012
    
    
  
Peter,
On Sep 6, 2012, at 6:53 AM, Peter Steele <pwsteele at gmail.com> wrote:
> I just tried to build our Java project with scons and it complained that JDK 1.7 isn’t supported. Is this for real or is this “user error”? My SConscript looks like this:
>  
> import os
>  
> TOT = os.environ["TOT"]
>  
> env = Environment(
>     JAVACLASSPATH = [
>         …
>     ],
>     JAVAVERSION = "1.7"
> )
>  
> env.Java('bin', 'src')
>  
> The error I got was:
>  
> NotImplementedError: Java version 1.7 not supported:
Please file a bug (or even better a fix) at scons.tigris.org. We'll try to get some support in the next release.
It may be as simple as just adding the version string into the list of supported versions which is in the following file:
SCons/Tool/JavaCommon.py
I believe we actually have a patch in the queue which may resolve this.
You also could try downloading a package from.
https://bitbucket.org/dirkbaechle/scons/changesets/tip/branch(%22default%22)  
-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120906/e910f045/attachment.html>
    
    
More information about the Scons-users
mailing list