areaDetector / ADViewers

ImageJ, Python, and IDL viewers for areaDetector detectors and cameras

Home Page:https://areadetector.github.io/master/ADViewers/ad_viewers.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile error with EPICS_AD_Viewer.java in ImageJ

LeeYangLBLBCS opened this issue · comments

I don't know much about Java. I've been able to use EPICS_AD_Viewer.java following the instructions without any problem inside ImageJ with earlier versions of Ubuntu (i.e. 18.04, 20.04).
But I couldn't compile it with ubuntu 22.04.
Any help is appreciated.
======================error message========================
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:18: error: package gov.aps.jca does not exist
import gov.aps.jca.;
^
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:19: error: package gov.aps.jca.dbr does not exist
import gov.aps.jca.dbr.
;
^
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:20: error: package gov.aps.jca.configuration does not exist
import gov.aps.jca.configuration.;
^
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:21: error: package gov.aps.jca.event does not exist
import gov.aps.jca.event.
;
^
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:32: error: cannot find symbol
DBRType dataType;
^
symbol: class DBRType
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:47: error: cannot find symbol
JCALibrary jca;
^
symbol: class JCALibrary
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:48: error: cannot find symbol
DefaultConfiguration conf;
^
symbol: class DefaultConfiguration
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:49: error: cannot find symbol
Context ctxt;
^
symbol: class Context
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:52: error: cannot find symbol
Channel ch_nx;
^
symbol: class Channel
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:53: error: cannot find symbol
Channel ch_ny;
^
symbol: class Channel
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:54: error: cannot find symbol
Channel ch_nz;
^
symbol: class Channel
location: class EPICS_AD_Viewer
/home/lyang/ImageJ/plugins/EPICS_areaDetector/EPICS_AD_Viewer.java:55: error: cannot find symbol
Channel ch_colorMode;
^
symbol: class Channel

I was using R1-6-1.
I updated to R1-7, then compile errors were gone.