2011-10-23 51 views
0

我開始使用藍牙Java編程,所以我開始編譯捆綁到NetBeans中的簡單Bluettoth應用程序,該應用程序編譯正確,但是當我嘗試爲手機運行任何模擬器時,我得到了這個錯誤:(是的,我重新安裝的Java,Netbeans的7.01,我不知道還有什麼嘗試,我的鑽機是CI7 2630QM 4 GB RAM W7 64位)Java ME藍牙鏈接錯誤

Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/C%3A/Users/Raul/Documents/NetBeansProjects/BluetoothDemo2/dist/ClamshellCldcPhone1/BluetoothDemo2.jad 
Starting emulator in execution mode 
Error: opening registry key 'Software\JavaSoft\Java Runtime Environment' 
Error: could not find java.dll 
Error: Could not find Java SE Runtime Environment. 
C:\Users\Raul\Documents\NetBeansProjects\BluetoothDemo2\nbproject\build-impl.xml:915: Execution failed with error code 2. 
BUILD FAILED (total time: 1 second) 

請,我需要拼命的解決方案: (

回答

0

是否有JAVA_HOME環境變量集?將JAVA_HOME變量設置爲指向有效的Java安裝