Re: HelloJOCL.java compilation problem
Posted by
Michael Bien on
Mar 12, 2011; 2:45pm
URL: https://forum.jogamp.org/HelloJOCL-java-compilation-problem-tp2668910p2669199.html
Hello,
strange error... never saw this before. Works for me:
(cd into src)
javac -cp ../../jocl/dist/jocl.jar
com/jogamp/opencl/demos/hellojocl/HelloJOCL.java
best regards,
michael
On 03/12/2011 01:54 PM, suleman [via jogamp] wrote:
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
----------
--
- - - -
http://michael-bien.com