Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9109493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T03:03:20+00:00 2026-06-17T03:03:20+00:00

I have developed a small application with Google Web Toolkit and would like to

  • 0

I have developed a small application with Google Web Toolkit and would like to deploy it to the Google App Engine (GAE) server. I’m using Eclipse Juno and Java 7 by default, but when I tried to deploy to GAE, I realised that it does not support Java 7 yet. So I switched to a Java 6 JRE in the project setting (set Build Path/Libraries to “java-6-openjdk-amd64” and Java Compiler/Compiler compliance level to 1.6.

However, when I try to deploy my app via the Google Eclipse plugin, it still throws the same RuntimeException:

“The application contains Java 7 classes, but the –use_java7 flag has
not been set.”

Here’s the complete debugging output:

Unable to update:
java.lang.RuntimeException: The application contains Java 7 classes, but the --use_java7 flag has not been set.
        at com.google.appengine.tools.admin.Application.createStagingDirectory(Application.java:576)
        at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:370)
        at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
        at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
        at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
        at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

How can I remove the Java 7 remainders so that the Google plugin understands?

This is all running on Ubuntu 12.10 64 bit.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T03:03:21+00:00Added an answer on June 17, 2026 at 3:03 am

    You are probably using your Java 7 installation to compile. In eclipse, go to Window > Preferences. In there, browse to Java > Installed JREs.

    The list on the right probably only shows the jre/jdk7 in your case. You have to add your installation of Java 5 or 6 in here, and make sure that it is the “ticked” JRE.

    Afterwards, use Project > Clean…, select “Clean All Projects” and make sure that “Start a build immediatly” is ticked, along with “build the entire workspace”.

    [Edit : this answer is not accurate for android development… When I realized that, a quck search showed that the question looks suspiciously close to Failed to deploy to Google App Engine because –use_java7 flag has not been set , the answer is probably the same.]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have developed a small application that I would like to try and sell
Have developed a small Windows application using SQL Server as its database. I need
I have a web application that I developed with the Google Web Toolkit (GWT),
We have developed a small web application for a client. We decided on the
Hey guys, I have developed a small site that i would like to embed
Hi I am working Android application development using titanium studio.I have developed small application.my
I have developed a small Java Web Application where a user will upload a
I have developed a small application using Perl/Tk. The application will fetch data from
I have developed a small application with SQL SERVER back end and I also
I have developed a small desktop application in c#(using windows forms). For this project

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.