473,320 Members | 1,856 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

USB im Zusammenhang mit eclise

Hallo,

hab ein problem mit eclipse. ich hab einen funktionierenden
beispielCode der über eine bluetooth schnittstelle (am USB
Port)verbindung mit anderen geräten aufnimmt. wenn ich die applikation
mit der mitgelieferten *.bat datei ausführe dann klappt es sehr gut.
mein problem ist, wenn ich den code, bestehend aus nur einer klasse
(mit main-fkt.), in eclipse copiere und ausführe. dann bekomme ich
folgende meldung:
" USB dll not loaded: no USB in java.library.path
javax.bluetooth.BluetoothStateException: 1021001 : 10131421093106 :
USB opening failed
at javax.bluetooth.LocalDevice.getLocalDevice(Unknown Source)
at ServerApp.main(ServerApp.java:73)
Exception in thread "main" "
ich hab versucht den Pfad zu USB.dll anzugeben aber es klappt nicht so
wirklich.

bin für jede hilfe dankbar,
grüße,
MG
Jul 17 '05 #1
1 3160
me*************@de.bosch.com (mgHi) wrote in message news:<24**************************@posting.google. com>...
Hallo,

hab ein problem mit eclipse. ich hab einen funktionierenden
beispielCode der über eine bluetooth schnittstelle (am USB
Port)verbindung mit anderen geräten aufnimmt. wenn ich die applikation
mit der mitgelieferten *.bat datei ausführe dann klappt es sehr gut.
mein problem ist, wenn ich den code, bestehend aus nur einer klasse
(mit main-fkt.), in eclipse copiere und ausführe. dann bekomme ich
folgende meldung:
" USB dll not loaded: no USB in java.library.path
javax.bluetooth.BluetoothStateException: 1021001 : 10131421093106 :
USB opening failed
at javax.bluetooth.LocalDevice.getLocalDevice(Unknown Source)
at ServerApp.main(ServerApp.java:73)
Exception in thread "main" "
ich hab versucht den Pfad zu USB.dll anzugeben aber es klappt nicht so
wirklich.

bin für jede hilfe dankbar,
grüße,
MG


ich kenne diese thematik zwar nur vom comm - treiber, aber es wird
hier ähnlich sein. die datei usb.dll wird höchstwahrscheinlich in den
ordner JRE/bin kopiert werden müssen. wenn es sich um eine normale
applikation handelt, sollte es normalerweise reichen, wenn die dll in
der working directory liegt (also user.dir).

chris
Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Postbank Kontounterstutzung | last post by:
This is a multi-part message in MIME format. ------=_NextPart_000_0000_3AC4C749.9C1CB016 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0001_EF906472.5CE0414B" ...
8
by: carlospedr | last post by:
Hello, I am mostly a asp.net / C# programmer, but I was asked by a friend of mine to do a web application in PHP, I am currently looking for a good IDE, when I say good something like Java Beans...
3
by: SAIRAAM | last post by:
Hi, How to run XML using Eclipse????????
14
by: MrPutty | last post by:
Hello everyone! It seems I've finaly found a place with savy folks ;-) The following problem has me puzzeled - hopefully someone can help me out! ...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.