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

  • Home
  • SEARCH
  • 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 973917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T03:21:08+00:00 2026-05-16T03:21:08+00:00

Does anyone have a list of environment variables that are common on Linux, Windows,

  • 0

Does anyone have a list of environment variables that are common on Linux, Windows, and OSX that would enable cross-platform, consistent Apache Ant builds?

For example: On OSX you can specify env.HOME and perform file operations from the user’s home directory, /Users/michaelprescott. On Windows, env.HOME isn’t available. Instead, you have to specify env.HOMEDRIVE or env.HOMEPATH .

  • 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-05-16T03:21:09+00:00Added an answer on May 16, 2026 at 3:21 am

    A lot of that is built into Java. Definitely check out user.dir and similar from System.getProperties() which Ant will use.

    Here’s a list of some of the more interesting ones:

    • file.encoding = MacRoman
    • file.separator = /
    • java.class.path = ./
    • java.class.version = 50.0
    • java.endorsed.dirs = /System/Library/Frameworks/JavaVM.fram…
    • java.ext.dirs = /Library/Java/Extensions:/System/Library/Ja…
    • java.home = /System/Library/Frameworks/JavaVM.framework/Ver…
    • java.io.tmpdir = /var/folders/Kp/KpmOujsB2RWdqE+BYnAOX++++T…
    • java.library.path = .:/Library/Java/Extensions:/System/Libr…
    • java.specification.version = 1.6
    • java.vendor = Apple Inc.
    • java.version = 1.6.0_20
    • line.separator =
    • os.arch = x86_64
    • os.name = Mac OS X
    • os.version = 10.6.3
    • path.separator = :
    • user.country = US
    • user.dir = /private/tmp/properties-test
    • user.home = /Users/dblevins
    • user.language = en
    • user.name = dblevins
    • user.timezone =
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone have a list or chart of all MSIL codes and their corresponding
Does anyone have a good algorithm for taking an ordered list of integers, i.e.:
Does anyone know how many options a drop down list can have? Is it
Does anyone have any recommendations of tools that can be of assistance with moving
Does anyone have HQL query on how to get list of 10 random unique
Does anyone have a definitive answer to whether Sql Server Management Objects is compatible
Does anyone have the secret formula to resizing transparent images (mainly GIFs) without ANY
Does anyone have a technique for generating SQL table create (and data insert) commands
Does anyone have a good way to build MSI (vdproj) projects using MsBuild or
Does anyone have any experience getting MSTest to copy hibernate.cfg.xml properly to the output

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.