5

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
  • 74,158
  • 163
  • 522
  • 986

1 Answers1

9

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

Also see this question: eclipse.ini variables

Captain Man
  • 6,270
  • 4
  • 44
  • 68
saurav
  • 4,722
  • 9
  • 47
  • 87