It is probably better to use a JDK 6 install to make sure you're not using 
any new classes/methods introduced in 7. The source and target switches 
don't cover that.
If you really want to use a JDK 7 install to compile for Java 6, you should 
compile with -bootclasspath /path/to/jdk1.6.0/lib/rt.jar (in addition to 
source/target). At that point you've probably got JDK 6 installed, and 
might as well use it.

On Monday, December 17, 2012 7:42:20 PM UTC+1, Ludovic Champenois wrote:
>
> With your JDK 7 javac tools (via command line or via Eclipse configuration 
> for your current javac compiler, you need to use the 2 javac flags to 
> create Java6 compliant classes:
>
> -source 6 - target 6
>
> See complete information on the target and source flags at:
> http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html
>
>
>
>
> On Sunday, December 16, 2012 3:30:00 PM UTC-8, Jarom wrote:
>>
>> How do I use JRE6 for a new web application? I want to create one and 
>> then migrate my current app into it to make it AppEngine-enabled. It sounds 
>> like Google won't be including Java7 support until at least next February, 
>> but I want to release my app before then!
>>
>

-- 
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/-/xvafBP3vuH8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to