Environment variables in eclipse.ini file

后端 未结 3 1558
醉梦人生
醉梦人生 2020-12-15 10:35

Does eclipse.ini or eclipse command line support variable parsing such as $PATH or ${java.home}?

3条回答
  •  鱼传尺愫
    2020-12-15 11:08

    Elaborating the @VonC answer I have created a simple file eclipse.bat containing the following simple line:

    start eclipse.exe -vm %WORK_DIRECTORY%\tools\Java\jdk1.8.0_73\bin\javaw.exe
    

    Where I have used a system variable. Now, instead of calling directly eclipse.exe, I call eclipse.bat and this does the trick.

提交回复
热议问题