Skip to content
Oti edited this page Dec 1, 2015 · 7 revisions

Path variable

scm or lscm.bat/.sh must be available in your console. Add it to your path variable.

Configure Java VM

scm and lscm need a Java virtual machine. You should test if scm and lscm are running properly. If you get the following error you should change your configuration:

$ scm help
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
~~~~~~~~~~ snip ~~~~~~~~~~

The file scmtools/eclipse/scm.ini can be used to tell scm which JVM to use. Change it to something like this:

# Uncomment the following 2 lines to configure JRE.
-vm 
c:\Program Files\Java\jdk1.8.0_66\bin
~~~~~~~~~~ snip ~~~~~~~~~~

Now you should get some better output:

$ scm help

Syntax: scm [Options] [command]
~~~~~~~~~~ snip ~~~~~~~~~~

Set language to English

rtc2git needs an English installation of the RTC command line interface. In order to ensure that, please insert the following vmargs entry in scmtools/eclipse/scm.ini:

-Dosgi.nl=en_US