Bluetooth does not run in window PC
<p>hi i write a java app about bluetooth
when i run in eclipse console it ran ok
but when i run in command line it occur error 
import javax.bluetooth.BluetoothStateException;
import javax.bluetooth.LocalDevice;</p>

<pre><code>public class main {

/**
 * @param args
 * @throws BluetoothStateException 
 */
public static void main(String[] args) throws BluetoothStateException {
    // TODO Auto-generated method stub
    LocalDevice local=null;
    local = LocalDevice.getLocalDevice();
    System.out.printf("this is some text");
}

}
</code></pre>

<p>errors occur</p>

<pre><code>C:\Users\HUNGSON\workspace\Java_Test\bin&gt;java main
Exception in thread "main" java.lang.NoClassDefFoundError: main
Caused by: java.lang.ClassNotFoundException: main
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: main.  Program will exit.
</code></pre>

<p>please help me !!</p>
