Bug#491334: Reopen eclipse ignores vmargs in eclipse.ini

Niels Thykier niels at thykier.net
Mon Apr 12 09:30:45 UTC 2010


> I incorrectly analyzed the problem.
>=20
> The problem is that the
> $HOME/.eclip/org.eclipse.platform_<version>_<id>/configuration/config.i=
ni
> (not /etc/eclipse.ini) don't accept the -vmargs switch. More exactly
> said: It is accepted, but silently ignored and even it is shown in the
> Eclipse in the dialog Help->About Eclipse SDK->Instalation
> Details->Configuration. This is pretty confusing.
>=20

That file is not intended for arguments though; it looks like a regular
"properties" file (as in java.util.Properties-properties) - have a look
at /usr/lib/eclipse/configuration/config.ini, which is written by the
same part of eclipse.
  I think you may be able to specify properties in it though (as you can
do via -vmargs -D<prop>=3D<value>), if that is what you need. If you writ=
e
-vmargs in it, it probably thinks you define the property "-vmargs" to
the empty value or null.

Perhaps what you want is a "per user" eclipse.ini?

> I think that the
> $HOME/.eclipse/org.eclipse.platform_<version>_<id>/configuration/config=
=2Eini
> is parsed by Java code during startup and not by wrapper that starts jv=
m.
>=20

Yes.

> Tomas
>=20
>=20
> Dne 11.4.2010 17:27, Niels Thykier napsal(a):
>> [...]

~Niels

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100412/8cfd5f29/attachment-0001.pgp>


More information about the pkg-java-maintainers mailing list