Knowledge Base/Tools/Eclipse IDE
From Thalesians
Contents |
Running Eclipse IDE in a specific JVM
Use the -vm command line option to point eclipse.ide to a specific JRE bin directory:
start eclipse.exe -vm C:\Programs\Java\JRE\V1.6.0_14\bin\
Summary: Starting Eclipse IDE
We use the following batch script to start Eclipse IDE on Windows. The file lives in the same directory as eclipse.exe.
set THIS_SCRIPT_DIRECTORY_PATHNAME=%~dp0 set ECLIPSE_IDE_EXECUTABLE_FILE_BASENAME=eclipse.exe set ECLIPSE_IDE_EXECUTABLE_FILE_PATHNAME=%THIS_SCRIPT_DIRECTORY_PATHNAME%%ECLIPSE_IDE_EXECUTABLE_FILE_BASENAME% set ECLIPSE_IDE_JVM_DIRECTORY_PATHNAME=C:\Programs\Java\JRE\V1.6.0_14\bin\ start %ECLIPSE_IDE_EXECUTABLE_FILE_PATHNAME% -vm %ECLIPSE_IDE_JVM_DIRECTORY_PATHNAME%
Displaying line numbers in the Editor
Go to Windows > Preferences... Drill down to General > Editors > Text Editors. Tick "Show line numbers".
Displaying the print margin
Go to Windows > Preferences... Drill down to General > Editors > Text Editors. Tick "Show print margin" and set the "Print margin column" (we normally set it to 75).
Useful Eclipse plug-ins
- Subclipse — Subversion (SVN) support.