Warnings after importing uimaj-examples

2018-03-04 Thread Barbara Moloney
Hi
I seem to have an error free process when importing uimaj-examples from my
binary installation of UIMA into Eclipse. However I get a big long list of
warnings. See excerpt below and attached.

Does anyone have any suggestions? Do the warnings matter?

I'm using Java 1.8.0_161 on Windows 7 with UIMA 2.10.2 and Eclipse 4.7.2

Any help appreciated



*Barbara Moloney* *BVSc MVS(Epidemiology) MANZCVS(Epidemiology & Pathology)*
 |Technical Specialist (Epidemiology)

*NSW Department of Primary Industries* | *Biosecurity Intelligence &
Traceability*

​Australia​


Description Resource Path Location Type

ArrayList is a raw type. References to generic type ArrayList should be
parameterized AdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow line 60 Java Problem

ArrayList is a raw type. References to generic type ArrayList should be
parameterized AdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow line 70 Java Problem

-- 
 
--
This message is intended for the addressee named and may contain 
confidential information. If you are not the intended recipient, please 
delete it and notify the sender. Views expressed in this message are those 
of the individual sender, and are not necessarily the views of their 
organisation.
Description ResourcePathLocationType
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedAdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow   line 60 Java Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedAdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow   line 70 Java Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedAdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow   line 76 Java Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedAdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow   line 124Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedAdvancedFixedFlowController.java
/uimaj-examples/src/org/apache/uima/examples/flow   line 138Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 122Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 123Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 123Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 141Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 141Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 347Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedRegExAnnotator.java 
/uimaj-examples/src/org/apache/uima/examples/casline 374Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedUimaMeetingAnnotator.java   
/uimaj-examples/src/org/apache/uima/tutorial/ex6line 77 Java Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedWhiteboardFlowController2.java  
/uimaj-examples/src/org/apache/uima/examples/flow   line 66 Java Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedWhiteboardFlowController2.java  
/uimaj-examples/src/org/apache/uima/examples/flow   line 103Java 
Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedXmiCollectionReader.java
/uimaj-examples/src/org/apache/uima/examples/xmiline 55 Java Problem
ArrayList is a raw type. References to generic type ArrayList should be 
parameterizedXmiCollectionReader.java
/uimaj-examples/src/org/apache/uima/examples/xmiline 77 Java Problem
Collection is a raw type. References to generic ty

Re: Running bin files from UIMA_HOME bin directory

2018-03-03 Thread Barbara Moloney
Thanks Marshall
That is working now.




*Barbara Moloney* *BVSc MVS(Epidemiology) MANZCVS(Epidemiology & Pathology)*
 |Technical Specialist (Epidemiology)

*NSW Department of Primary Industries* | *Biosecurity Intelligence &
Traceability*

161 Kite Street | Orange NSW 2800| Locked Bag 21 | Orange NSW 2800


On 1 March 2018 at 03:14, Marshall Schor  wrote:

> please try a java version 8, not version 9.
>
> There are known issues that pop up when running with Java 9 that haven't
> been
> worked on yet.
>
> Cheers. -Marshall
>
> On 2/27/2018 8:13 PM, Barbara Moloney wrote:
> > Hi Marshall
> > Thanks for your reply.
> > I am using Java version "9.0.4" which I have downloaded as the JDK from
> > Oracle at
> > http://www.oracle.com/technetwork/java/javase/
> downloads/index-jsp-138363.html#javasejdk
> >
> > Also I am using Windows 7.
> >
> > Thanks
> > Barbara
> >
> >
> >
> >
> >
> >
> >
> > On 27 February 2018 at 05:23, Marshall Schor  wrote:
> >
> >> Can you say what Java you're using?
> >>
> >> (Try the command   java -version)
> >>
> >> If it is not a mainline Java, e.g., Oracle java or IBM java, please try
> >> one of
> >> those.
> >>
> >>
> >> -Marshall
> >>
> >>
> >> On 2/24/2018 1:56 AM, Barbara Moloney wrote:
> >>> Hi
> >>> I'm very new to UIMA and I'd like to run annotationViewer and others in
> >> the
> >>> bin directory.
> >>> Below is the output I'm getting,
> >>>
> >>> Exception in thread "main" java.lang.ClassCastException:
> >>> java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be
> >> cast to
> >>> java.base/java.net.URLClassLoader
> >>> at
> >>> org.apache.uima.bootstrap.UimaBootstrap.addUrlsToSystemLoader(
> >> UimaBootstrap.java:146)
> >>> at org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:74)
> >>>
> >>>
> >>> Any help appreciated
> >>>
> >>> Barbara
> >>>
> >>
>
>

-- 
 
--
This message is intended for the addressee named and may contain 
confidential information. If you are not the intended recipient, please 
delete it and notify the sender. Views expressed in this message are those 
of the individual sender, and are not necessarily the views of their 
organisation.


Re: Running bin files from UIMA_HOME bin directory

2018-02-27 Thread Barbara Moloney
Hi Marshall
Thanks for your reply.
I am using Java version "9.0.4" which I have downloaded as the JDK from
Oracle at
http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html#javasejdk

Also I am using Windows 7.

Thanks
Barbara







On 27 February 2018 at 05:23, Marshall Schor  wrote:

> Can you say what Java you're using?
>
> (Try the command   java -version)
>
> If it is not a mainline Java, e.g., Oracle java or IBM java, please try
> one of
> those.
>
>
> -Marshall
>
>
> On 2/24/2018 1:56 AM, Barbara Moloney wrote:
> > Hi
> > I'm very new to UIMA and I'd like to run annotationViewer and others in
> the
> > bin directory.
> > Below is the output I'm getting,
> >
> > Exception in thread "main" java.lang.ClassCastException:
> > java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be
> cast to
> > java.base/java.net.URLClassLoader
> > at
> > org.apache.uima.bootstrap.UimaBootstrap.addUrlsToSystemLoader(
> UimaBootstrap.java:146)
> > at org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:74)
> >
> >
> > Any help appreciated
> >
> > Barbara
> >
>
>

-- 
 
--
This message is intended for the addressee named and may contain 
confidential information. If you are not the intended recipient, please 
delete it and notify the sender. Views expressed in this message are those 
of the individual sender, and are not necessarily the views of their 
organisation.


Running bin files from UIMA_HOME bin directory

2018-02-23 Thread Barbara Moloney
Hi
I'm very new to UIMA and I'd like to run annotationViewer and others in the
bin directory.
Below is the output I'm getting,

Exception in thread "main" java.lang.ClassCastException:
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to
java.base/java.net.URLClassLoader
at
org.apache.uima.bootstrap.UimaBootstrap.addUrlsToSystemLoader(UimaBootstrap.java:146)
at org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:74)


Any help appreciated

Barbara

-- 
 
--
This message is intended for the addressee named and may contain 
confidential information. If you are not the intended recipient, please 
delete it and notify the sender. Views expressed in this message are those 
of the individual sender, and are not necessarily the views of their 
organisation.