Java7 is currently for Trusted Tester and you can apply at: 
https://docs.google.com/a/google.com/forms/viewform?id=13UvQiEjr7ob-QXMSFch5LByQN8vHa70Rl98g8ipCf9c

Soon, we'll open to everyone.
Via Eclipse, you'll be able to add the --use_java7 flag to the appcfg tool 
in the next GPE release.
For now, assuming you are a trusted tester, you'll have to build your app 
and use the command line tool bin/appcfg  to update the application with 
the --use_java7 flag.

If you do not want to use Java7, you need to setup the Eclipse java 
compiler used by your project to target a Java 6 environment by adding 
these 2 flags to the javac compiler arguments:

-target 6 -source 6

This will create classes with the correct bytecode to run in a JVM 6 
environment.
Ludo

On Wednesday, December 26, 2012 11:48:35 PM UTC-8, Ramses wrote:
>
> Hello Al,
>
> Am getting following errorr when deploying to App Engine from Eclipse Juno
>
> The application contains Java 7 classes, but the --use_java7 flag has not 
> been set.
>
> Any idea how to to set the Java7 flag?
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/e1Mq6Np1UVAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to