Java Compile Problem: Class names are only accepted if annotation processing is explicitly requested
<p>hi m very new to java  and Linux i have a code which is taken from examples of jcuda.the code is following</p>

<pre><code>import jcuda.CUDA;    
import jcuda.driver.CUdevprop;    
import jcuda.driver.types.CUdevice;

public class EnumDevices {

  public static void main(String args[]) {

        //Init CUDA Driver

     CUDA cuda = new CUDA(true);    
        int count = cuda.getDeviceCount();



        System.out.println("Total number of devices: " + count);



        for (int i = 0; i &lt; count; i++) {

             CUdevice dev = cuda.getDevice(i);



             String name = cuda.getDeviceName(dev);

            System.out.println("Name: " + name);



            int version[] = cuda.getDeviceComputeCapability(dev);

            System.out.println("Version: " + String.format("%d.%d", version[0], version[1]));



             CUdevprop prop = cuda.getDeviceProperties(dev);

            System.out.println("Clock rate: " + prop.clockRate + " MHz");

            System.out.println("Threads per block: " + prop.maxThreadsPerBlock);

        }

    }

}
</code></pre>

<p>I'm using Ubuntu as my operating system i compiled it with following command</p>

<pre><code>1:-javac -cp /home/manish.yadav/Desktop/JCuda-All-0.3.2-bin-linux-x86_64 EnumDevices
</code></pre>

<p>i got following error</p>

<pre><code>error: Class names, 'EnumDevices', are only accepted if annotation processing is explicitly requested
1 error
</code></pre>

<p>i don't know what is the meaning of this error.what should i do to compile the program</p>

<p>than i changed the compiling option which is </p>

<pre><code>javac -cp /home/manish.yadav/Desktop/JCuda-All-0.3.2-bin-linux-x86_64 EnumDevices.java
</code></pre>

<p>than i got following error</p>

<pre><code>EnumDevices.java:36: clockRate is not public in jcuda.driver.CUdevprop; cannot be accessed from outside package
            System.out.println("Clock rate: " + prop.clockRate + " MHz");
                                                    ^
EnumDevices.java:37: maxThreadsPerBlock is not public in jcuda.driver.CUdevprop; cannot be accessed from outside package
            System.out.println("Threads per block: " + prop.maxThreadsPerBlock);
                                                           ^
2 errors
</code></pre>

<p>Now I'm completely  confused i don't know what to do?</p>

<p>how to compile this  program ?</p>

<p>how to install the jcuda package or how to use it ?</p>

<p>how to use package which have only jar files and .so files and the jar files don't having manifest file ? 
please help me  </p>
