user310291
user310291

Reputation: 38180

eclipse -vm %JAVA_HOME% in eclipse.ini fails

I downloaded eclipse adt and there is no jre in eclipse folder.

So I created on Windows 8 a JAVA_HOM environement variable pointing to my JDK path and added this line to eclipse.ini

-vm %JAVA_HOME%/bin/javaw.exe

but eclipse still looks for jre in its sub directory.

Upvotes: 0

Views: 1331

Answers (1)

greg-449
greg-449

Reputation: 111142

You cannot use environment variables in the eclipse.ini (Eclipse bug 102239), you must specify the actual full path.

You must also put -vm and the path on separate lines.

If there is a -vmargs entry in the eclipse.ini the -vm must come before that.

Upvotes: 2

Related Questions