The Source for Java Technology Collaboration

Home » java.net Forums » JSR » General JSR Discussion

Thread: JSR 197

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 7 - Last Post: Apr 8, 2009 2:08 PM by: cookdav Threads: [ Previous | Next ]
shirsenduj

Posts: 2
JSR 197
Posted: Feb 20, 2006 5:52 AM
  Click to reply to this thread Reply

Hi,
I want to Use J2ME features in my J2SE application. As I can see JSR 197 address that issue.
But from JCP I can download only the JSR 197 Spec. Is there any jar file for JSR 197? If so, where from I can download that?

wizi

Posts: 1
Re: JSR 197
Posted: Mar 25, 2006 8:06 AM   in response to: shirsenduj
  Click to reply to this thread Reply

Hi, I'm searching for JSR 197 api too. Did you find it now?

cookdav

Posts: 4
Re: JSR 197
Posted: Mar 19, 2009 5:01 AM   in response to: wizi
  Click to reply to this thread Reply

Ok, it's now 3 YEARS later.

Anyone found an actual WORKING IMPLEMENTATION of
JSR197 yet?

ashishsmital

Posts: 2
Re: JSR 197
Posted: Mar 20, 2009 1:24 AM   in response to: cookdav
  Click to reply to this thread Reply

Well there is no actual working implementation of JSR 197 yet, but part of it is implemented in BlueCove from google. I wanted to port bluetooth application on J2se, from J2me which required JSR 197 optional implementation but after lot of googling could lay my hands on bluecove http://www.bluecove.org/ hope this helps.

cookdav

Posts: 4
Re: JSR 197
Posted: Mar 20, 2009 7:16 AM   in response to: ashishsmital
  Click to reply to this thread Reply

Thanks, I'll go check that Bluecove thing out.

cookdav

Posts: 4
Re: JSR 197
Posted: Mar 22, 2009 10:03 AM   in response to: cookdav
  Click to reply to this thread Reply

Hmm...getting somewhat closer, but not QUITE there yet.

So, I downloaded 'BlueCove', from SourceForge, in the form of:
bluecove-2.1.0.jar
and put that on my classpath. So, now a simple JavaSE program compiles.

But, when I run it, I get: an error:
BlueCove com.intel.bluetooth.BluetoothStackBlueZ not available

EDIT: This is happening under Linux, using the default
'BlueZ' stack (which seems to work fine with
other software [which is no doubt C/C++ based], it's
just this jar which is giving the problem).

So, is something missing? (Or, is something else going on?!?)

Message was edited by: cookdav

ashishsmital

Posts: 2
Re: JSR 197
Posted: Mar 22, 2009 9:16 PM   in response to: cookdav
  Click to reply to this thread Reply

Actually I had used it on windows and not on linux so I did not have to deal with BlueZ.

But I will still try to look into it and respond to you.

cookdav

Posts: 4
Re: JSR 197
Posted: Apr 8, 2009 2:06 PM   in response to: shirsenduj
  Click to reply to this thread Reply

By the way...

I did finally figure out that symptom. The fix for that is that, on Linux only,
an extra '-gpl' JAR needs to be put onto one's CLASSPATH, as mentioned here:
http://code.google.com/p/bluecove/downloads/list

However, that only gets one further...now, at least, the app-code can start to
execute.

But, another showstopper: device-discovery doesn't work. It just 'no-ops' and
won't recognise/show the paired-devices when asked for by Java-based code.
[The stack works fine for non-java apps, as I may have mentioned earlier.]

Sigh...meanwhile, I'm just doing all my Java-based bluetooth coding/testing
over on Win-XP and Win-Vista, since BlueCove works just fine using M$
default native bluetooth stack.

Message was edited by: cookdav




 XML java.net RSS