Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to add/update an environment variable without Eclipse restart?
How to add/update an environment variable without Eclipse restart? [message #1867479] Wed, 26 June 2024 11:57 Go to next message
Eclipse UserFriend
I am currently struggling with setting up environment variable for Eclipse in macOS. Is there a standard/recommended way to do so? Ideally, to set it without restarting Eclipse itself. The only way I know is to use "Info.plist", but that would need Eclipse restart. Are there any other ways?

Bonus points question: is there a way to set up environment variable for Eclipse, that is a result of a bash command? I need it for setting my authorization token for AWS code artifact:
export CODEARTIFACT_AUTH_TOKEN=$(aws codeartifact get-authorization-token ...)

The reason behind it is that that token expires every 24 hours...

Forgot to mention that I have also tried "Environment Variables Preference Page" Eclipse plugin, but it does not seem to work.

Thank you in advance!

UPDATE: I posted the same question on Stack Overflow.

[Updated on: Thu, 25 July 2024 00:16] by Moderator

Re: How to add/update an environment variable without Eclipse restart? [message #1871196 is a reply to message #1867479] Tue, 17 September 2024 22:39 Go to previous messageGo to next message
Eclipse UserFriend
My issue is the same. Anyone find any solution??
Re: How to add/update an environment variable without Eclipse restart? [message #1871859 is a reply to message #1871196] Mon, 14 October 2024 03:32 Go to previous messageGo to next message
Eclipse UserFriend
Have you tried using the "Run Configurations" option in Eclipse to set environment variables?
Re: How to add/update an environment variable without Eclipse restart? [message #1872258 is a reply to message #1871859] Fri, 25 October 2024 15:16 Go to previous messageGo to next message
Eclipse UserFriend
I have tried all the reflections but I still have the same problem , any solution? I see that many of us have the same problem but no solution yet
I will try to see a youtube tutorial maybe I will find a result.

Tutuapp

[Updated on: Thu, 21 November 2024 17:41] by Moderator

Re: How to add/update an environment variable without Eclipse restart? [message #1872791 is a reply to message #1872258] Tue, 19 November 2024 23:24 Go to previous message
Eclipse UserFriend
My problem is similar, has anyone found a solution?
Previous Topic:m2eclipse (Maven Integration): how to see actual Maven output or customize builds?
Next Topic:Server DTLS X509, client certificate no trust
Goto Forum:
  


Current Time: Tue Jun 24 10:18:29 EDT 2025

Powered by FUDForum. Page generated in 0.10501 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top