Login  Register

HelloJOCL.java compilation problem

Posted by suleman on Mar 12, 2011; 12:54pm
URL: https://forum.jogamp.org/HelloJOCL-java-compilation-problem-tp2668910.html

Hi,

I have configured the JOCL library (using the pre-compiled Jar and library files) on Linux platform
I have NVidea GPU, and using a 64-bit JVM, While trying to compile the sample JOCL program, i am facing the below error.

Any help please!!
Many thanks

]$ javac -source 1.6 -target 1.6 HelloJOCL.java
----------
1. ERROR in HelloJOCL.java (at line 0)

package com.jogamp.opencl.demos.hellojocl;
        ^
The type Enum is not generic; it cannot be parameterized with arguments <CLMemory.Mem>
----------