6

Is it possible to use environment variables like %JAVA_HOME% within eclipse.ini?

I'd like to include the following without having to hardcode the absolute path to jdk:

-vm
%JAVA_HOME%\bin\javaw.exe

But that's not working and eclipse complains about missing jdk.

By the way: cmd echo %JAVA_HOME% shows the correct path.

membersound
  • 81,582
  • 193
  • 585
  • 1,120

1 Answers1

11

It is not possible. There is already a bug opened for this.

Also see this question: eclipse.ini variables

Captain Man
  • 6,997
  • 6
  • 48
  • 74
saurav
  • 5,388
  • 10
  • 56
  • 101