Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > Java tools & IDE's > Eclipse под jre1.5


Автор: ShurikA 19.3.2007, 01:03
Как заставить Eclipse всегда запускаться под 1.5?
Кроме как через командную строку. Мне не удаётся никак поменять его конфиг.

Автор: SmaLL 19.3.2007, 09:42
JAVA_HOME ?

Автор: AntonSaburov 19.3.2007, 15:23
Вот такую штуку видел:

f available under the eclipse/jre directory, the Eclipse JRE will be used; otherwise the launcher will consult the JAVA_HOME system path variable. To explicitly specify a JVM of your choice, you can use the -vm command line argument:

   eclipse -vm c:/jre/bin/javaw.exe

Another option is to put startup configuration into an eclipse.ini file. The Eclipse program launcher will read arguments from either the command-line or the configuration file named eclipse.ini. To specify a JVM using configuration file, create a text file named eclipse.ini in the same folder as eclipse.exe with these contents:

-vm
c:/jre/bin/javaw.exe

Правда не проверял.

Автор: ShurikA 19.3.2007, 20:39
AntonSaburov
Огромное спасибо, я этого нигде не нащёл. Буду пробовать...

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)