Login  Register

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
----------



If you reply to this email, your message will be added to the discussion below:
http://forum.jogamp.org/HelloJOCL-java-compilation-problem-tp2668910p2668910.html
To start a new topic under jogamp, email [hidden email]
To unsubscribe from jogamp, click here.


-- 
- - - -
http://michael-bien.com