
Hi,

My guesses at this stage (having tried to specify the location of the jar file myself & failed at it) are the following:(1) your jar file is not the same than would be automatically installed with the BBG WAPI installer(2) The jar file needs other files which are in the standard "C:\blp\API\APIv3\JavaAPI\v3.4.8.1" - but I do not think it is the case, pure personal wild guess here
The main question I think is why do you have the jar file in the folder you referenced & not in the standard one...that lead me to think that you did not install (properly?) the SDK from BBG >> it would put the needed files in the C:\bpl folder where your BBG install is
I know, I know very IT helpdesk-ish but I would recommend to re-install proprely the SDK with a freshly downloaded exe (as you seems to be on Windows) from BBG WAPI page & follow the step by step install instruction from the vignette - ensuring you are logged in your BBG which is obviously ont he same machine than your R / Rbbg 

Let us know how you got on & if following the proper install procedure of the vignette it still do not works report this to the maintainer of this extremely useful package...

HTH,Julien


> Date: Thu, 27 Dec 2012 02:04:14 -0800
> From: altaf.kassam@ubs.com
> To: r-sig-finance@r-project.org
> Subject: Re: [R-SIG-Finance] Rbbg package's CONNECTION_FAILURE
> 
> Hi Julien, thanks for the reply.  Using your simple command above I get the
> error:
> 
> "> con.BBG<-blpConnect()
> R version 2.15.2 (2012-10-26) 
> rJava Version 0.9-3 
> Rbbg Version 0.4-155 
> Java environment initialized successfully.
> Looking for most recent blpapi3.jar file...
> Error in blpConnect.Java("warning", NULL, TRUE, NULL, TRUE, FALSE) : 
>   Can't find C:\blp\API\APIv3\JavaAPI please confirm you have Bloomberg
> Version 3 Java API installed. If it's in a different location, please report
> this to Rbbg package maintainer.
> > "
> 
> so that is why I thought I needed to specify the location of the blpapi3.jar
> file but when I do (not just the path but the actual file) I get my original
> error:
> 
> "> blpConnect(blpapi.jar.file="C:\\Program
> Files\\Bloomberg\\bloomberg\\API\\blpapi3.jar")
> 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\blpapi3.jar to Java
> classpath
> Error in .jnew("org/findata/blpwrapper/Connection", java.log.level) : 
>   java.lang.NoClassDefFoundError: com/bloomberglp/blpapi/SessionOptions"
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Rbbg-package-s-CONNECTION-FAILURE-tp4642600p4654026.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]]

