Re: Trouble loading AE

2016-09-13 Thread Bandeep Singh
Hi Milena,

It looks like a classic example of Java version mismatch. One of the
dependencies of cTakes is Java 8
Please make sure you have JAVA SDK installed and not JRE. I have OpenJDK 8
running on my system and cTakes runs fine on my system.

 -Bandeep

On Tue, Sep 13, 2016 at 2:32 PM, Gianfrancesco, Milena <
milena.gianfrance...@ucsf.edu> wrote:

> Hello,
>
> I have just installed cTakes and followed instructions in the 3.2 User
> Install Guide. However, I am unable to load an AE. I have a UMLS user name
> and password, and have updated the appropriate scripts as outlined in the
> User Guide, yet I get this error when trying to load any AE (even the
> non-UMLS ones):
>
> Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError:
> org/apache/ctakes/dependency/parser/ae/ClearNLPDependencyParserAE :
> Unsupported major.minor version 51.0
>
> at java.lang.ClassLoader.defineClass1(Native Method)
>
> at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
>
> at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
>
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
>
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
>
> at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
>
> at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
>
> at java.security.AccessController.doPrivileged(Native Method)
>
> at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>   …… + more
>
>  I have double checked that I have the latest Java software. Any idea what
> could be causing this error?
>
> Thank you!
>
> Milena
>


Trouble loading AE

2016-09-13 Thread Gianfrancesco, Milena
Hello,

I have just installed cTakes and followed instructions in the 3.2 User Install 
Guide. However, I am unable to load an AE. I have a UMLS user name and 
password, and have updated the appropriate scripts as outlined in the User 
Guide, yet I get this error when trying to load any AE (even the non-UMLS ones):


Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError: 
org/apache/ctakes/dependency/parser/ae/ClearNLPDependencyParserAE : Unsupported 
major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)

at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)

at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)

at java.net.URLClassLoader.access$000(URLClassLoader.java:58)

at java.net.URLClassLoader$1.run(URLClassLoader.java:197)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

  …… + more

 I have double checked that I have the latest Java software. Any idea what 
could be causing this error?

Thank you!

Milena