Revision: 4102
Author: janne.t.harkonen
Date: Thu Sep 23 00:14:30 2010
Log: Edited wiki page JavaIntegration through web user interface.
http://code.google.com/p/robotframework/source/detail?r=4102

Modified:
 /wiki/JavaIntegration.wiki

=======================================
--- /wiki/JavaIntegration.wiki  Thu Sep 23 00:06:51 2010
+++ /wiki/JavaIntegration.wiki  Thu Sep 23 00:14:30 2010
@@ -25,13 +25,19 @@

 == Using additional Java libraries ==

+
 Due to the fact that `java -jar` does not read `CLASSPATH` environment
-variable, or offer any other way to alter the class path at startup, other Java
-libraries need to be inserted to the class path using the
-`Xbootclasspath` option.
+variable, or offer any other way to alter the class path at startup, Robot Framework has to be started a bit differently when class path has to be altered.

For example, here's how the !SwingLibrary demo can be executed using the Robot Framework jar:
-
+{{{
+java -cp lib/swinglibrary-0.14.jar:lib/registration-0.1.jar:robotframework-2.5.3.jar org.robotframework.RobotFramework example.html
+}}}
+
+It is also possible to insert additional jar files to class path using the
+`Xbootclasspath` option. In this case, robotframework.jar does not need to be in class path.
+
+Here's the above example using `Xbootclasspath`:
 {{{
java -Xbootclasspath/a:lib/swinglibrary-0.14.jar:lib/registration-0.1.jar -jar robotframework-2.5.3.jar example.html
 }}}

Reply via email to