
Hi Altaf,

Some considerations from a user of the package...
Why do you specify the path for the jar file in your blpConnect call? + I think the argument takes the full path of the jar file & not the directory where it is supposed to be (which is I think what you tried to specify?) 
my (successful) call looks like this:
> con.BBG <- blpConnect()R version 2.15.0 (2012-03-30) rJava Version 0.9-3 Rbbg Version 0.4-153 Java environment initialized successfully.Looking for most recent blpapi3.jar file...Adding C:\blp\API\APIv3\JavaAPI\v3.4.8.1\lib\blpapi3.jar to Java classpathBloomberg API Version 3.4.8.1 

With "C:\blp\API\APIv3\JavaAPI\v3.4.8.1\lib\blpapi3.jar" the default place for the jar file hence I do not need to mention in the function call (but basically if your jar file is somewhere else for some strange reason this is the kind of file argument is needs)


HTH,Julien


> Date: Thu, 27 Dec 2012 01:40:26 -0800
> From: altaf.kassam@ubs.com
> To: r-sig-finance@r-project.org
> Subject: Re: [R-SIG-Finance] Rbbg package's CONNECTION_FAILURE
> 
> Hi All, Happy Holidays!
> I am getting this error in blpConnect():
> 
> "> blpConnect(blpapi.jar.file="C:\\Program
> Files\\Bloomberg\\bloomberg\\API")
> R version 2.15.2 (2012-10-26) 
> rJava Version 0.9-3 
> Rbbg Version 0.4-155 
> Java environment initialized successfully.
> Adding C:\Program Files\Bloomberg\bloomberg\API to Java classpath
> Error in .jnew("org/findata/blpwrapper/Connection", java.log.level) : 
>   java.lang.NoClassDefFoundError: com/bloomberglp/blpapi/SessionOptions"
> 
> Any idea what is causing it?
> Thanks a lot,
> 
> Altaf
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Rbbg-package-s-CONNECTION-FAILURE-tp4642600p4654022.html
> Sent from the Rmetrics mailing list archive at Nabble.com.
> 
> _______________________________________________
> R-SIG-Finance@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
 		 	   		  
	[[alternative HTML version deleted]]

