On Tue, Oct 22, 2013 at 10:36 AM, Asher Tarnopolski <ata...@gmail.com>
 wrote:

> i have need to run dev appserver on a machine which has both java 6 and
> java 7 installed on it. java 6 is set in JAVA_HOME, and for java 7 they
> user JAVA7_HOME.
> is there any way i can set JAVA_HOME to point to JAVA7_HOME
> for dev_appserver.cmd executions only?
>


You can configure a shortcut to run a batch script which changes the
environment variable, and then run a different script to set it back when
you're done.

You can also set environmental variables by user in Windows, so you can try
keeping one user account purely for App Engine coding, then switch to
another user account when you need to use Java 6 apps.


On Tue, Oct 22, 2013 at 10:36 AM, Asher Tarnopolski <ata...@gmail.com>
 wrote:

> i tried to add set JAVA_HOME=wherever java 7 is installed
> in dev_appserver.cmd itself, but it does nothing.
>
>

What was the command you were attempting to use? That's also another
possibility.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to