janke99 / android-virtualbox

Automatically exported from code.google.com/p/android-virtualbox
0 stars 0 forks source link

Setting proper BOOTCLASSPATH variable #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using the default values for the BOOTCLASSPATH, the following code will crash.

XPathFactory factory = XPathFactory.newInstance();
XPath xPath = factory.newXPath();
 Log.i("XPath", "" + xPath);

This is due to multiple jar files missing in the BOOTCLASSPATH environment 
variable. 
In this particular case, apache-xml.jar is not included so the XPath api 
crashes when
trying to find a class that implements the api. 

I have submitted the patch to the android gerrit at 
https://android-review.googlesource.com/#/c/35253/
and wanted to post the issue here and contribute to the project.

Original issue reported on code.google.com by carlson5...@gmail.com on 16 Apr 2012 at 8:50