Java – how to use eclipse Ini?

See English answer > eclipse Ini variables 3

I want to include the following without having to hard code the absolute path of the JDK:

-vm
%JAVA_HOME%\bin\javaw.exe

But it didn't work, and eclipse complained about the lack of JDK

By the way: CMD echo% Java_ Home% displays the correct path

Solution

It's impossible

For eclipse, there is already an error about eclipse https://bugs.eclipse.org/bugs/show_bug.cgi?id=102239

There are also stack overflow links

eclipse. ini variables

Cheers!

Saurav

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>