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 8882037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T20:28:41+00:00 2026-06-14T20:28:41+00:00

My question is the following: if you have a Java 1.6 compiler set in

  • 0

My question is the following:

if you have a Java 1.6 compiler set in [window->preferences->java->compiler]

When you do [right click on project -> export as -> war]

or

[right click on project -> export as -> jar]

is it compiled with the Java 1.6 compiler? or with the one JAVA_HOME is pointing at?

  • 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-14T20:28:42+00:00Added an answer on June 14, 2026 at 8:28 pm

    The export operation (JAR or WAR, or anything) has nothing to do with the build process.

    When you export, the workbench first ensures that all relevant projects are built. It does it by simply firing an Eclipse event to have a build done. Your projects will be built with whatever they were configured to be built with, using the compiler settings that they were configured to be compiled with. The compiler that is being used for the purpose is not necessarily the one that you have JAVA_HOME pointed at; it is the one that is defined in the workbench’s preferences.

    Once the build is done, the export handler performs the actual export of files from your workbench (which now includes the .class files for each built project) into an archive (JAR, WAR and so forth).

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

Sidebar

Related Questions

I have a question about how GC works in Java. Consider the following code:
I have the following question. I have a set of Fortran90 source files, most
I'm working for a university project, and I have the following question: I have
I have a quick question about how smart the Java compiler provided in Sun's
I have following question on adobe omniture How we can register an iPhone app
I am new to Spring Batch. I have following question. I am using Spring
I have the following question, and it screams at me for a solution with
I have the following question. How can I print an output file line by
I have the following question about JPA: Can I save the order of the
I am revising for a Database course and I have the following question from

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.