|
It is currently Thu Jul 07, 2011 9:48 am
|
View unanswered posts | View active topics
 |
|
 |
|
| Author |
Message |
|
friedchiken
|
Post subject: Mac help  Posted: Mon Feb 28, 2011 8:07 am |
Joined: Mon Feb 28, 2011 8:03 am Posts: 7
|
|
" Native Library bluecove not available Exception while accessing bluetooth: javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available "
osx 10.5.8
/have bluecove-2.1.0
thanks for the help!
|
|
|
|
 |
|
Jon
|
Post subject: Re: Mac help  Posted: Mon Feb 28, 2011 3:22 pm |
Joined: Tue Feb 15, 2011 1:00 am Posts: 60
|
|
|
|
 |
|
dferreira
|
Post subject: Re: Mac help  Posted: Mon Feb 28, 2011 4:41 pm |
Joined: Mon Feb 21, 2011 10:21 am Posts: 10 Location: Pittsburgh
|
|
Make sure you have the bluecove library in /System/Library/Java/Extensions/ folder.
_________________ Denzil — Web: denzilferreira.com | @denzilferreira
|
|
|
|
 |
|
friedchiken
|
Post subject: Re: Mac help  Posted: Fri Mar 04, 2011 11:32 am |
Joined: Mon Feb 28, 2011 8:03 am Posts: 7
|
|
unable with mac air... bluecove not working with 64bit mac =/
|
|
|
|
 |
|
dferreira
|
Post subject: Re: Mac help  Posted: Fri Mar 04, 2011 12:22 pm |
Joined: Mon Feb 21, 2011 10:21 am Posts: 10 Location: Pittsburgh
|
friedchiken wrote: unable with mac air... bluecove not working with 64bit mac =/ If you use -d32 on the Java command, you should be able to run the Java Virtual Machine in 32bit mode, despite your Mac's 64bit. Also, make sure on Java Preferences you put the 32bit VM first on the list, then the 64bit ones. You can just drag them up on the list.
_________________ Denzil — Web: denzilferreira.com | @denzilferreira
|
|
|
|
 |
|
dbates72
|
Post subject: Re: Mac help  Posted: Sat Mar 05, 2011 11:27 pm |
Joined: Fri Mar 04, 2011 3:53 pm Posts: 3 Location: Seattle, WA
|
dferreira wrote: If you use -d32 on the Java command, you should be able to run the Java Virtual Machine in 32bit mode, despite your Mac's 64bit. Also, make sure on Java Preferences you put the 32bit VM first on the list, then the 64bit ones. You can just drag them up on the list. This solved my problem getting the mac to connect to the watch. Thanks!
|
|
|
|
 |
|
dantasse
|
Post subject: Re: Mac help  Posted: Thu Mar 24, 2011 2:22 pm |
Joined: Thu Mar 24, 2011 2:01 pm Posts: 2
|
Hi all! I'm still having trouble with I think the same issue. I have a 64-bit mac running 10.5.8 (Leopard). I'll retrace my steps so far in case they might help someone else: danlaptop:pulse_sdk dantasse$ java -d32 -jar ./tools/L2CAPServer/L2CAPServer.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) ...
So I go to Java Preferences and move Java SE 6 to the top. danlaptop:pulse_sdk dantasse$ java -d32 -jar ./tools/L2CAPServer/L2CAPServer.jar Cannot run Java in 32 bit mode. Continuing in 64 bit mode. Created InpulseBtConnection Native Library bluecove not available Exception while accessing bluetooth: javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available inPulse L2CAPServer Started v1.0.1 Waiting for a connection...
Okay, so I have a 64-bit JRE. There is no official 32-bit Java 6 JRE for Mac OS 10.5.8, so I downloaded OpenJDK from here: http://landonf.bikemonkey.org/static/soylatte/. (the actual JDK I downloaded: http://hg.bikemonkey.org/archive/openjdk6_darwin/openjdk6-b16-24_apr_2009-r1.tar.bz2) I added the OpenJDK directory to the front of my PATH ( export PATH=/.../soylatte/bin:$PATH
) and again: dan-tasses-macbook:pulse_sdk dantasse$ java -version openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-landonf_17_may_2009_13_58-b00) OpenJDK Client VM (build 11.0-b17, mixed mode) dan-tasses-macbook:pulse_sdk dantasse$ java -d32 -jar ./tools/L2CAPServer/L2CAPServer.jar Created InpulseBtConnection Exception while accessing bluetooth: javax.bluetooth.BluetoothStateException: BlueCove not available ...
I made sure I had bluecove in the right place: danlaptop:pulse_sdk dantasse$ ls /System/Library/Java/Extensions/ | grep bluecove bluecove-2.1.0.jar
but it still can't find it. Any ideas? Thanks! Dan
|
|
|
|
 |
|
Eric
|
Post subject: Re: Mac help  Posted: Thu Mar 24, 2011 10:14 pm |
Joined: Mon Feb 14, 2011 7:07 pm Posts: 172
|
|
hi @dantasse, we haven't been able to find a computer with 10.5.8 installed to try to replicate this. Have you tried doing system update?
Perhaps someone else lurking here has 10.5.8 installed...
_________________ ---
Lead designer of inPulse
|
|
|
|
 |
|
dantasse
|
Post subject: Re: Mac help  Posted: Mon Apr 11, 2011 8:57 pm |
Joined: Thu Mar 24, 2011 2:01 pm Posts: 2
|
Hi Eric, Sorry about the long delay. (I thought I subscribed to reply notifications, but I guess not). Yeah, I've tried updating everything, but short of moving to 10.6, I'm not sure what to do. I think part of it is that I didn't actually install OpenJDK/SoyLatte right. I guess to run Java 1.6 in 32 bit mode, I need a 32 bit Java 6 JRE, and when I downloaded the 1.6 OpenJDK or SoyLatte JDK's, I didn't put the JRE's from them in the right place. At least, my /System/Library/Frameworks/JavaVM.framework/Versions directory has a bunch of other "versions of java" packaged up for mac. Okay, so, to make sure I'm running the right "java": dan-tasses-macbook:~ dantasse$ /usr/local/soylatte16-i386-1.0.3/jre/bin/java -d32 -jar ./pulse_sdk/tools/L2CAPServer/L2CAPServer.jar Created InpulseBtConnection Exception while accessing bluetooth: javax.bluetooth.BluetoothStateException: BlueCove not available
So no luck. Maybe this JRE just doesn't know where BlueCove is. I'm not sure where it should be either. I tried copying bluecove-2.1.0.jar into /usr/local/soylatte.../lib and /usr/local/soylatte/.../jre/lib, no luck there either. At any rate, no worries, I'll have access to another computer in a few days, so I'll just use that. Apologies to anyone else who's got this weird combination of problems and stumbled upon this thread looking for a solution. And thanks anyway, Eric!
|
|
|
|
 |
|
shard7
|
Post subject: Re: Mac help  Posted: Mon Apr 18, 2011 9:35 am |
Joined: Mon Apr 18, 2011 9:31 am Posts: 1
|
|
Hi,
Has any progress been made with this issue? I have a Mac Book Pro with 10.5.8 and I'm completely unable to use the watch at this point.
Are there newer versions of the SDK and/or Bluecove that can fix it? Has OSX 10.6 been validated to work?
Thanks
|
|
|
|
 |
|
jimprofit
|
Post subject: Re: Mac help  Posted: Mon Apr 18, 2011 9:55 am |
Joined: Mon Apr 18, 2011 9:51 am Posts: 2
|
|
I encountered the same problem on Mac OS X 10.5.8 with java version J2SE 5.0 Apple Inc. 32-bit 1.5.0_28b04 on my 2006 MacBookPro15'
Any update of the SDK ?
|
|
|
|
 |
|
Eric
|
Post subject: Re: Mac help  Posted: Mon Apr 18, 2011 4:19 pm |
Joined: Mon Feb 14, 2011 7:07 pm Posts: 172
|
|
We still don't have a fix for Mac OSX 10.5, other than a recommended update to 10.6 which includes the correct version of Java. Sorry...
_________________ ---
Lead designer of inPulse
|
|
|
|
 |
|
jimprofit
|
Post subject: Re: Mac help  Posted: Mon Apr 18, 2011 11:27 pm |
Joined: Mon Apr 18, 2011 9:51 am Posts: 2
|
I do have another Mac 10.6.4 which can run the L2CapServer.jar sucessfully. However, the machine is behind firewall and only can access Internet using proxy server. Is it possible to set the python to use proxy and how to do it, Thanks. python compileandload.py -d 00:5c:c2:xx:xx:xx use correct syntax all .c files must be in src/ and all .h files in include/ Use a flat directory structure, no directories in src/ or include/ at this moment File added: include/pulse_os.h File added: include/._pulse_os.h File added: include/pulse_types.h File added: include/._pulse_types.h File added: src/hello_world.c File added: src/._hello_world.c server is down, contact [email protected] for more info
|
|
|
|
 |
|
Eric
|
Post subject: Re: Mac help  Posted: Tue Apr 19, 2011 12:28 pm |
Joined: Mon Feb 14, 2011 7:07 pm Posts: 172
|
I just read up a bit on urllib (the python library we're using to interact with the http compile server). Looks like it supports an http proxy: http://docs.python.org/library/urllib.htmlQuote: In a Mac OS X environment, urlopen() will retrieve proxy information from the OS X System Configuration Framework, which can be managed with Network System Preferences panel. Alternatively, if this doesn't work, you can try hardcoding your proxy server into the tools/remote_compile/clientupload.py script: Quote: Alternatively, the optional proxies argument may be used to explicitly specify proxies. It must be a dictionary mapping scheme names to proxy URLs, where an empty dictionary causes no proxies to be used, and None (the default value) causes environmental proxy settings to be used as discussed above. For example:
# Use http://www.someproxy.com:3128 for http proxying proxies = {'http': 'http://www.someproxy.com:3128'} filehandle = urllib.urlopen(some_url, proxies=proxies) # Don't use any proxies filehandle = urllib.urlopen(some_url, proxies={}) # Use proxies from environment - both versions are equivalent filehandle = urllib.urlopen(some_url, proxies=None) filehandle = urllib.urlopen(some_url)
_________________ ---
Lead designer of inPulse
|
|
|
|
 |
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|