Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [glimmer-dev] RE: Glimmer setup questions

Thanks for your helpful answers Dennis!

Glimmer looks like a very interesting project. I'm interested in using
it to make Eclipse RCP development more enjoyable. However, I haven't
gotten very far.

I've run into the following issues:
1. In the README it states (in 3b of the instructions for using with
Eclipse) "java.library.path; must point to
ECLIPSE_HOME%/plugins/org.eclipse.swt* folder"

I am using Eclipse 3.4 and there is no org.eclipse.swt* folder.

I only have jar files:
org.eclipse.swt.win32.win32.x86.source_3.4.0.v3448f.jar
org.eclipse.swt.win32.win32.x86_3.4.0.v3448f.jar
org.eclipse.swt_3.4.0.v3448f.jar
org.eclipse.ve.swt_1.4.0.v20080910.jar

What should I set java.library.path to in this case?


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

 

 


Back to the top