FG

PATH env variable on Mac OS X and/or Eclipse

Fresh3 days ago
Mar 15, 202633587 views
Confidence Score0%
0%

Problem

When I print out the path in bash, it prints this: When I run System.out.println(System.getenv("PATH")); in Java running under Eclipse, it prints How can I figure out why there is this discrepancy? I need to add /usr/local/bin to the PATH and make it available to Java apps under Eclipse. (note: I h…

Error Output

/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: PATH env variable on Mac OS X and/or Eclipse

Low Risk

For those of you looking for an answer years later (Neon, Oxygen): Some of my node and angular/angular2 tooling in eclipse failed due to missing $PATH entries in the MacOS terminal. Your tooling propably utilizes the embedded eclipse terminal which …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment