I'm not sure which version of the README you have, but in the current one, it
says that you have to add the JAR-files themselves to the path, not a
directory. Maybe try it like in the following instructions on the website:
http://www.eclipse.org/glimmer/instructions.php
I was looking at the README in subversion.
Both that one and the webpage have:
3. Modify Java launch command in jRuby script/batch file to include
SWT libraries in both:
o
Classpath;
must include %ECLIPSE_HOME%/plugins/org.eclipse.swt*.jar
For example with Eclipse 3.2 on Windows, we add the following:
-cp
"%CLASSPATH%;%ECLIPSE_HOME%\plugins\org.eclipse.swt.win32.win32.x86_3.2.0.v3232m.jar;%ECLIPSE_HOME%\plugins\org.eclipse.swt_3.2.0.v3232o.jar"
o
java.library.path;
must point to %ECLIPSE_HOME%/plugins/org.eclipse.swt* folder
For example, with Eclipse 3.2 on Windows, we add the following:
-Djava.library.path="%ECLIPSE_HOME%\plugins\org.eclipse.swt.win32.win32.x86_3.2.0.v3232m"
The second bullet point mentions a ‘org.eclipse.swt*
folder’ and then the example for java.library.path isn’t using a
.jar file.
-Patrick