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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:55:26+00:00 2026-05-23T03:55:26+00:00

I have Eclipse Helios with a java program set up. I’m attempting to create

  • 0

I have Eclipse Helios with a java program set up. I’m attempting to create two environment variables

ReportingManagerHome=C:\rp
ReportingManagerConfig=${ReportingManagerHome}\config

I then run my program with

System.out.println(System.getenv(“ReportingManagerConfig”));

Eclipse doesn’t even call the java compiler. It throws up a pop up window with the error that environment variable ReportingManagerHome is not defined. I understand that since the java compiler has yet to be called, technically Eclipse is correct.

Now how do I work around this so that I can define cascading environment variables in Eclipse?

  • 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-23T03:55:27+00:00Added an answer on May 23, 2026 at 3:55 am

    It won’t recursively expand environment variables from the launch config.

    Even using ${env:VAR} takes it from the environment variables from your eclipse process, not from your current launch config.

    The most reliable way to do it is to go to Preferences>Run/Debug>String Substitution and define an eclipse variable there.

    Then define the environment variables in your launch config:

    ReportingManagerHome=${RMH}
    ReportingManagerConfig=${RMH}\config
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have eclipse Helios for Java EE and I downloaded all the pluggins related
I have a Maven Java EE project built using javaee5-maven-archetype and imported into Eclipse(Helios).
I'm using GWT(2.0)+EJB(3.x)+JPA deployed in GlassFish and using Eclipse Helios J2EE. I have two
I have Eclipse Helios SR1 installed on Windows XP. I am writing/debugging Java code
I have already installed the eclipse IDE for Java developers (Helios Service Release 2)
I have Eclipse 3.3.2 with PDT doing PHP development. All projects that I create,
I have an Eclipse RCP app running on Java 6. When I try to
Right now, I have two Eclipse projects - they both use Maven 2 for
I'm currently using Eclipse 3.6 (Helios). I have tried using Ant wsgen task but
I have installed Eclipse Helios on my linux workstation and would like to manage

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.