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 <[email protected]> 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 >>> >>
