Set the ${user} variable in Eclipse

To set the ${user} variable in Eclipse, either:

  1. add the following line to the eclipse.ini file:[the_desired_user_name]

    for example:
  2. place the same code in your JAVA_OPTS environment variable if Eclipse is started from the command line
  3. put the same construct on the command line when Eclipse is started. Eclipse extracts the ${user} variable from system properties so any method that sets the property will work.

About Terry Gardner

Terry Gardner was a leading directory services architect with experience with many large scale directory services installations and messaging server installations, and was a Subject Matter Expert in the field of Directory Services and Solaris (operating system) performance. Mr. Gardner also participated in the open-source software community. Mr. Gardner passed away in December, 2013.
This entry was posted in computing, Java and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s