javac not working in windows command prompt

If you added it in the control panel while your command prompt was open, that won’t affect your current command prompt. You’ll need to exit and re-open or simply do: set “path=%path%;c:\program files\java\jdk1.6.0_16\bin” By way of checking, execute: from your command prompt and let us know what it is. Otherwise, make sure there is a javac in … Read more

javac error: Class names are only accepted if annotation processing is explicitly requested

You at least need to add the .java extension to the file name in this line: javac -cp /home/manish.yadav/Desktop/JCuda-All-0.3.2-bin-linux-x86_64 EnumDevices From the official faq: Class names, ‘HelloWorldApp’, are only accepted if annotation processing is explicitly requested If you receive this error, you forgot to include the .java suffix when compiling the program. Remember, the command … Read more