You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a windows 10 machine with eclipse 2024-09 and different JRE installed.
Eclipse starts with its internal JRE, but when I open a command shell via easyshell the PATH variable (and other environment variables) passed to the shell is modified by eclipse, so instead of using the JRE declared in the original PATH (and pointed by JAVA_HOME), it uses the eclipse JRE.
Expected Behavior
Uses the system/user environment variables or eventually let the user configure it in preferences
Actual Behavior
When I open a command with easyshell, it shows the eclipse modified path, which starts with: "Path=C:/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.5.v20241023-1957/jre/bin/server;C:/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.5.v20241023-1957/jre/bin;..." instead of the system/user path
Steps to Reproduce the Problem
Add path to a specific JRE to your PATH variable and set JAVA_HOME
launch a command shell
Using eclipse with JRE embedded, launch a command shell with easyshell
in the first command windows and in the window opened by easyshell, execute "java -version"
notice the difference
in the first command windows and in the window opened by easyshell, execute "set"
notice the difference
Your Environment
Plugin version: 2.3.0.v20230630-1658
Eclipse Version: 2024-09
Java Version: different
Operating System Version: Windows 10
The text was updated successfully, but these errors were encountered:
I have a windows 10 machine with eclipse 2024-09 and different JRE installed.
Eclipse starts with its internal JRE, but when I open a command shell via easyshell the PATH variable (and other environment variables) passed to the shell is modified by eclipse, so instead of using the JRE declared in the original PATH (and pointed by JAVA_HOME), it uses the eclipse JRE.
Expected Behavior
Uses the system/user environment variables or eventually let the user configure it in preferences
Actual Behavior
When I open a command with easyshell, it shows the eclipse modified path, which starts with: "Path=C:/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.5.v20241023-1957/jre/bin/server;C:/eclipse//plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_21.0.5.v20241023-1957/jre/bin;..." instead of the system/user path
Steps to Reproduce the Problem
Your Environment
The text was updated successfully, but these errors were encountered: